[Marble-commits] KDE/kdeedu/marble/src
Torsten Rahn
tackat at kde.org
Sun Aug 8 11:56:46 CEST 2010
SVN commit 1160556 by rahn:
- Fixing the position of the Bookmark menu entry for the Qt version.
M +4 -4 QtMainWindow.cpp
--- trunk/KDE/kdeedu/marble/src/QtMainWindow.cpp #1160555:1160556
@@ -299,6 +299,10 @@
m_fileMenu->addSeparator();
m_fileMenu->addAction(m_controlSunAct);
+ m_bookmarkMenu = menuBar()->addMenu(tr("&Bookmarks"));
+ createBookmarkMenu();
+ connect( m_bookmarkMenu, SIGNAL( aboutToShow() ), this, SLOT( createBookmarkMenu() ) );
+
m_fileMenu = menuBar()->addMenu(tr("&Settings"));
m_fileMenu->addAction(m_statusBarAct);
m_fileMenu->addAction(m_sideBarAct);
@@ -318,10 +322,6 @@
connect( m_infoBoxesMenu, SIGNAL( aboutToShow() ), this, SLOT( createInfoBoxesMenu() ) );
connect( m_onlineServicesMenu, SIGNAL( aboutToShow() ), this, SLOT( createOnlineServicesMenu() ) );
- m_bookmarkMenu = menuBar()->addMenu(tr("&Bookmarks"));
- createBookmarkMenu();
- connect( m_bookmarkMenu, SIGNAL( aboutToShow() ), this, SLOT( createBookmarkMenu() ) );
-
// FIXME: Discuss if this is the best place to put this
QList<RenderPlugin *>::const_iterator it = pluginList.constBegin();
QList<RenderPlugin *>::const_iterator const listEnd = pluginList.constEnd();
More information about the Marble-commits
mailing list