Commit 25291cef authored by AlmAck's avatar AlmAck

replaced NULL with nullptr

parent 9a4a60bc
......@@ -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
CommandLineParser *parser = NULL;
CommandLineParser *parser = nullptr;
QTextStream err(stderr);
QStringList args = QCoreApplication::arguments();
QString arg0(args.takeFirst());
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