Commit 238ef32f authored by Scott Wheeler's avatar Scott Wheeler

Ah, there's the right way. Someone committed the explanation of how this

works to the API docs after I last generated them at home.  :-)

svn path=/trunk/kdemultimedia/juk/; revision=218818
parent b5c11d29
......@@ -46,7 +46,7 @@
////////////////////////////////////////////////////////////////////////////////
JuK::JuK(QWidget *parent, const char *name) : KMainWindow(parent, name, WDestructiveClose),
DCOPObject ( "Player" ),
DCOPObject("Player"),
m_shuttingDown(false)
{
// Expect segfaults if you change this order.
......@@ -152,7 +152,7 @@ void JuK::setupActions()
// settings menu
new KToggleAction(i18n("Show Menu Bar"), "CTRL+m", this, SLOT(slotToggleMenuBar()), actionCollection(), "toggleMenuBar");
new KToggleAction(i18n("Show Tool Bar"), "CTRL+b", this, SLOT(slotToggleToolBar()), actionCollection(), "toggleToolBar");
setStandardToolBarMenuEnabled(true);
m_restoreOnLoadAction = new KToggleAction(i18n("&Restore Playlists on Load"), 0, actionCollection(), "restoreOnLoad");
m_toggleSplashAction = new KToggleAction(i18n("Show Splash Screen on Startup"), 0, actionCollection(), "showSplashScreen");
......
......@@ -141,7 +141,6 @@ private slots:
void slotPlaySelectedFile() { play(m_splitter->playSelectedFile()); }
void playFirstFile() { play(m_splitter->playFirstFile()); }
void slotToggleMenuBar() { menuBar()->isVisible() ? menuBar()->hide() : menuBar()->show(); }
void slotToggleToolBar() { toolBar()->isVisible() ? toolBar()->hide() : toolBar()->show(); }
private:
// layout objects
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment