Commit 0797ecec authored by David Jarvie's avatar David Jarvie

Fix warning message about QCoreApplication::arguments

parent 44b11257
......@@ -34,6 +34,7 @@
#include "mainwindow.h"
#include "messagebox.h"
#include "messagewin.h"
#include "kalarmmigrateapplication.h"
#include "preferences.h"
#include "prefdlg.h"
#include "shellprocess.h"
......@@ -117,6 +118,9 @@ KAlarmApp::KAlarmApp(int& argc, char** argv)
mAlarmsEnabled(true)
{
qCDebug(KALARM_LOG);
KAlarmMigrateApplication migrate;
migrate.migrate();
#ifndef NDEBUG
KAlarm::setTestModeConditions();
#endif
......
......@@ -21,7 +21,6 @@
#include "kalarm.h"
#include "kalarmapp.h"
#include "kalarmmigrateapplication.h"
#include "kalarm_debug.h"
#include <kalarmcal/version.h>
......@@ -37,9 +36,6 @@
int main(int argc, char* argv[])
{
KAlarmMigrateApplication migrate;
migrate.migrate();
KAlarmApp* app = KAlarmApp::create(argc, argv);
QStringList args = app->arguments();
app->setAttribute(Qt::AA_UseHighDpiPixmaps, true);
......
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