Commit b9b2c3bf authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Remove usage of KGlobal from Part autotest

parent 2896b9c9
......@@ -15,8 +15,8 @@
#include "../ui/pageview.h"
#include <KConfigDialog>
#include <KGlobal>
#include <KAboutData>
#include <KLocalizedString>
#include <QClipboard>
#include <QTreeView>
......@@ -250,7 +250,7 @@ int main(int argc, char *argv[])
qRegisterMetaType<QUrl>(); /*as done by kapplication*/
qRegisterMetaType<QList<QUrl>>();
Okular::PartTest test;
KGlobal::ref(); /* don't quit qeventloop after closing a mainwindow */
app.setQuitOnLastWindowClosed(false);
return QTest::qExec( &test, argc, argv );
}
......
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