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/qsui/mainwindow.cpp | |
| 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/qsui/mainwindow.cpp')
| -rw-r--r-- | src/plugins/Ui/qsui/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 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 |
