adjust indentation.

This commit is contained in:
Jekyll Wu
2011-08-14 21:52:09 +08:00
parent 4dd68c4c5b
commit dfcd06dfcf

View File

@@ -371,20 +371,20 @@ void Application::processProfileChangeArgs(KCmdLineArgs* args,MainWindow* window
void Application::startBackgroundMode(MainWindow* window)
{
if ( _backgroundInstance )
{
return;
}
if ( _backgroundInstance )
{
return;
}
KAction* action = new KAction(window);
KShortcut shortcut = action->shortcut();
action->setObjectName( QLatin1String("Konsole Background Mode" ));
//TODO - Customizable key sequence for this
action->setGlobalShortcut( KShortcut(QKeySequence(Qt::Key_F12)) );
KAction* action = new KAction(window);
KShortcut shortcut = action->shortcut();
action->setObjectName( QLatin1String("Konsole Background Mode" ));
//TODO - Customizable key sequence for this
action->setGlobalShortcut( KShortcut(QKeySequence(Qt::Key_F12)) );
_backgroundInstance = window;
connect( action , SIGNAL(triggered()) , this , SLOT(toggleBackgroundInstance()) );
_backgroundInstance = window;
connect( action , SIGNAL(triggered()) , this , SLOT(toggleBackgroundInstance()) );
}
void Application::toggleBackgroundInstance()