From a65bebd9b402963f429afb78b3e4d943cb9bb979 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 26 Sep 2018 18:42:42 +0000 Subject: moved stream browser and removable volumes to the add menu git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8380 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Ui/qsui/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/Ui/qsui/mainwindow.cpp') diff --git a/src/plugins/Ui/qsui/mainwindow.cpp b/src/plugins/Ui/qsui/mainwindow.cpp index 42a34e1f2..d523aa041 100644 --- a/src/plugins/Ui/qsui/mainwindow.cpp +++ b/src/plugins/Ui/qsui/mainwindow.cpp @@ -476,7 +476,8 @@ void MainWindow::createActions() m_ui.menuFile->addAction(SET_ACTION(ActionManager::PL_ADD_FILE, this, SLOT(addFiles()))); 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()))); - m_ui.menuFile->addSeparator(); + QAction *sep = m_ui.menuFile->addSeparator(); + UiHelper::instance()->registerMenu(UiHelper::ADD_MENU, m_ui.menuFile, 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()))); -- cgit v1.2.3-13-gbd6f