aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-04-22 07:53:05 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-04-22 07:53:05 +0000
commit123801afa00c7eeaa0063bc56d951a7164908d42 (patch)
treea0ab5de04aa5d222a2401c253d23b563081b5e5e /src/plugins
parentbabd47deb33bd3e040e7cd94d8ac1c980a7dac98 (diff)
downloadqmmp-123801afa00c7eeaa0063bc56d951a7164908d42.tar.gz
qmmp-123801afa00c7eeaa0063bc56d951a7164908d42.tar.bz2
qmmp-123801afa00c7eeaa0063bc56d951a7164908d42.zip
fixed gcc warnings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8786 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Ui/qsui/mainwindow.cpp6
-rw-r--r--src/plugins/Ui/skinned/mainwindow.cpp2
-rw-r--r--src/plugins/Ui/skinned/playlist.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/Ui/qsui/mainwindow.cpp b/src/plugins/Ui/qsui/mainwindow.cpp
index 4f4cf750f..186a03aaf 100644
--- a/src/plugins/Ui/qsui/mainwindow.cpp
+++ b/src/plugins/Ui/qsui/mainwindow.cpp
@@ -477,7 +477,7 @@ void MainWindow::createActions()
m_ui.menuFile->addAction(SET_ACTION(ActionManager::PL_ADD_DIRECTORY, this, SLOT(addDir())));
m_ui.menuFile->addAction(SET_ACTION(ActionManager::PL_ADD_URL, this, SLOT(addUrl())));
QAction *sep = m_ui.menuFile->addSeparator();
- UiHelper::instance()->registerMenu(UiHelper::ADD_MENU, m_ui.menuFile, sep);
+ UiHelper::instance()->registerMenu(UiHelper::ADD_MENU, m_ui.menuFile, false, sep);
m_ui.menuFile->addAction(SET_ACTION(ActionManager::PL_NEW, m_pl_manager, SLOT(createPlayList())));
m_ui.menuFile->addAction(SET_ACTION(ActionManager::PL_CLOSE, this, SLOT(removePlaylist())));
m_ui.menuFile->addAction(SET_ACTION(ActionManager::PL_RENAME, this, SLOT(renameTab())));
@@ -608,7 +608,7 @@ void MainWindow::createActions()
m_ui.menuEdit->addSeparator();
m_ui.menuEdit->addAction(SET_ACTION(ActionManager::SETTINGS, this, SLOT(showSettings())));
//tools
- m_ui.menuTools->addMenu(m_uiHelper->createMenu(UiHelper::TOOLS_MENU, tr("Actions"), this));
+ m_ui.menuTools->addMenu(m_uiHelper->createMenu(UiHelper::TOOLS_MENU, tr("Actions"), true, this));
//playback menu
m_ui.menuPlayback->addAction(ACTION(ActionManager::PLAY));
m_ui.menuPlayback->addAction(ACTION(ActionManager::STOP));
@@ -649,7 +649,7 @@ void MainWindow::createActions()
m_pl_menu->addAction(ACTION(ActionManager::PL_REMOVE_ALL));
m_pl_menu->addAction(ACTION(ActionManager::PL_REMOVE_UNSELECTED));
m_pl_menu->addMenu(UiHelper::instance()->createMenu(UiHelper::PLAYLIST_MENU,
- tr("Actions"), this));
+ tr("Actions"), true, this));
m_pl_menu->addSeparator();
m_pl_menu->addAction(SET_ACTION(ActionManager::PL_ENQUEUE, m_pl_manager, SLOT(addToQueue())));
//tools menu
diff --git a/src/plugins/Ui/skinned/mainwindow.cpp b/src/plugins/Ui/skinned/mainwindow.cpp
index 01429c5e3..14e57f385 100644
--- a/src/plugins/Ui/skinned/mainwindow.cpp
+++ b/src/plugins/Ui/skinned/mainwindow.cpp
@@ -464,7 +464,7 @@ void MainWindow::createActions()
m_visMenu = new VisualMenu(this);
m_mainMenu->addMenu(m_visMenu);
- m_mainMenu->addMenu(m_uiHelper->createMenu(UiHelper::TOOLS_MENU, tr("Tools"), this));
+ m_mainMenu->addMenu(m_uiHelper->createMenu(UiHelper::TOOLS_MENU, tr("Tools"), true, this));
m_mainMenu->addSeparator();
m_mainMenu->addAction(SET_ACTION(ActionManager::SETTINGS, this, SLOT(showSettings())));
diff --git a/src/plugins/Ui/skinned/playlist.cpp b/src/plugins/Ui/skinned/playlist.cpp
index 01a4fb2ce..43f4fc7bf 100644
--- a/src/plugins/Ui/skinned/playlist.cpp
+++ b/src/plugins/Ui/skinned/playlist.cpp
@@ -210,7 +210,7 @@ void PlayList::createActions()
m_addMenu->addAction(SET_ACTION(ActionManager::PL_ADD_FILE, parent(), SLOT(addFile())));
m_addMenu->addAction(SET_ACTION(ActionManager::PL_ADD_DIRECTORY, parent(), SLOT(addDir())));
m_addMenu->addAction(SET_ACTION(ActionManager::PL_ADD_URL, parent(), SLOT(addUrl())));
- UiHelper::instance()->registerMenu(UiHelper::ADD_MENU, m_addMenu);
+ UiHelper::instance()->registerMenu(UiHelper::ADD_MENU, m_addMenu, false);
//sub menu
m_subMenu->addAction(SET_ACTION(ActionManager::PL_REMOVE_SELECTED, m_pl_manager, SLOT(removeSelected())));
m_subMenu->addAction(SET_ACTION(ActionManager::PL_REMOVE_ALL, m_pl_manager, SLOT(clear())));
@@ -318,7 +318,7 @@ void PlayList::createActions()
m_listWidget->menu()->addSeparator();
m_listWidget->menu()->addActions (m_subMenu->actions().mid(0,3)); //use 3 first actions
m_listWidget->menu()->addMenu(UiHelper::instance()->createMenu(UiHelper::PLAYLIST_MENU,
- tr("Actions"), this));
+ tr("Actions"), true, this));
m_listWidget->menu()->addSeparator();
m_listWidget->menu()->addAction(SET_ACTION(ActionManager::PL_ENQUEUE, m_pl_manager, SLOT(addToQueue())));
//select menu