Call KLocalizedString::setApplicationDomain only after QApp creation

parent c7e1290e
......@@ -35,8 +35,6 @@ int main(int argc, char **argv)
rawArgs << QString::fromLocal8Bit(argv[i]);
// This code was given by Thiago as a solution for the issue that
// otherwise bash waits for a SIGPIPE from kdialog that never comes in.
int fd = open("/dev/null", O_RDWR);
......@@ -48,6 +46,8 @@ int main(int argc, char **argv)
QApplication app(argc, argv);
KDBusService dbusService(KDBusService::Multiple);
QCommandLineParser parser;
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