...
 
Commits (2)
......@@ -366,10 +366,10 @@ void connectMainSignals()
memset(&act, 0, sizeof(struct sigaction));
act.sa_handler = OperationManager::staticQuit;
sigaction(SIGINT, &act, NULL);
sigaction(SIGQUIT, &act, NULL);
sigaction(SIGABRT, &act, NULL);
sigaction(SIGTERM, &act, NULL);
sigaction(SIGINT, &act, nullptr);
sigaction(SIGQUIT, &act, nullptr);
sigaction(SIGABRT, &act, nullptr);
sigaction(SIGTERM, &act, nullptr);
}
int main(int argc, char **argv)
......@@ -393,7 +393,7 @@ int main(int argc, char **argv)
translator->load("akabei_" + QLocale::system().name() + ".qm", "/usr/share/akabei/translations/");//FIXME: Use translations from install dir
app.instance()->installTranslator(translator);
CommandLineParser *parser = NULL;
CommandLineParser *parser = nullptr;
QTextStream err(stderr);
QStringList args = QCoreApplication::arguments();
QString arg0(args.takeFirst());
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.