diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-04-22 07:53:05 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-04-22 07:53:05 +0000 |
| commit | 123801afa00c7eeaa0063bc56d951a7164908d42 (patch) | |
| tree | a0ab5de04aa5d222a2401c253d23b563081b5e5e /src/plugins/Ui/skinned | |
| parent | babd47deb33bd3e040e7cd94d8ac1c980a7dac98 (diff) | |
| download | qmmp-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/Ui/skinned')
| -rw-r--r-- | src/plugins/Ui/skinned/mainwindow.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/Ui/skinned/playlist.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
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 |
