Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Okular
Commits
b9b2c3bf
Commit
b9b2c3bf
authored
Jul 24, 2016
by
Martin Tobias Holmedahl Sandsmark
Browse files
Remove usage of KGlobal from Part autotest
parent
2896b9c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
autotests/parttest.cpp
View file @
b9b2c3bf
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment