Commit ab918099 authored by David Jarvie's avatar David Jarvie

Style

parent 1cce3146
......@@ -34,9 +34,8 @@ void KAlarmMigrateApplication::migrate()
migrate.migrate();
// Migrate folders and files.
if (mMigrator.checkIfNecessary()) {
if (mMigrator.checkIfNecessary())
mMigrator.start();
}
}
void KAlarmMigrateApplication::initializeMigrator()
......
......@@ -113,8 +113,9 @@ TrayWindow::TrayWindow(MainWindow* parent)
// Disable standard quit behaviour. We have to intercept the quit even,
// if the main window is hidden.
QAction *act = action(QStringLiteral("quit"));
if (act) {
QAction* act = action(QStringLiteral("quit"));
if (act)
{
act->disconnect(SIGNAL(triggered(bool)), this, SLOT(maybeQuit()));
connect(act, &QAction::triggered, this, &TrayWindow::slotQuit);
}
......
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