Add Configure items to the context menus for cloud file services.

This commit is contained in:
David Sansome 2014-03-30 16:46:16 +11:00
parent adff4864d4
commit 93a0f160df
2 changed files with 3 additions and 1 deletions

View File

@ -81,6 +81,9 @@ void CloudFileService::ShowContextMenu(const QPoint& global_pos) {
context_menu_->addActions(GetPlaylistActions());
context_menu_->addAction(IconLoader::Load("download"), tr("Cover Manager"),
this, SLOT(ShowCoverManager()));
context_menu_->addSeparator();
context_menu_->addAction(IconLoader::Load("configure"), tr("Configure..."),
this, SLOT(ShowSettingsDialog()));
}
context_menu_->popup(global_pos);
}

View File

@ -217,7 +217,6 @@ void ParseAProto() {
void CheckPortable() {
QFile f(QApplication::applicationDirPath() + QDir::separator() + "data");
qLog(Debug) << f.fileName();
if (f.exists()) {
// We are portable. Set the bool and change the qsettings path
Application::kIsPortable = true;