Add Configure items to the context menus for cloud file services.
This commit is contained in:
parent
adff4864d4
commit
93a0f160df
|
@ -81,6 +81,9 @@ void CloudFileService::ShowContextMenu(const QPoint& global_pos) {
|
||||||
context_menu_->addActions(GetPlaylistActions());
|
context_menu_->addActions(GetPlaylistActions());
|
||||||
context_menu_->addAction(IconLoader::Load("download"), tr("Cover Manager"),
|
context_menu_->addAction(IconLoader::Load("download"), tr("Cover Manager"),
|
||||||
this, SLOT(ShowCoverManager()));
|
this, SLOT(ShowCoverManager()));
|
||||||
|
context_menu_->addSeparator();
|
||||||
|
context_menu_->addAction(IconLoader::Load("configure"), tr("Configure..."),
|
||||||
|
this, SLOT(ShowSettingsDialog()));
|
||||||
}
|
}
|
||||||
context_menu_->popup(global_pos);
|
context_menu_->popup(global_pos);
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,7 +217,6 @@ void ParseAProto() {
|
||||||
|
|
||||||
void CheckPortable() {
|
void CheckPortable() {
|
||||||
QFile f(QApplication::applicationDirPath() + QDir::separator() + "data");
|
QFile f(QApplication::applicationDirPath() + QDir::separator() + "data");
|
||||||
qLog(Debug) << f.fileName();
|
|
||||||
if (f.exists()) {
|
if (f.exists()) {
|
||||||
// We are portable. Set the bool and change the qsettings path
|
// We are portable. Set the bool and change the qsettings path
|
||||||
Application::kIsPortable = true;
|
Application::kIsPortable = true;
|
||||||
|
|
Loading…
Reference in New Issue