Skip to content

Commit

Permalink
Add init() to QGSTEST_MAIN
Browse files Browse the repository at this point in the history
Now that it's not called from ctor anymore
  • Loading branch information
elpaso committed Feb 15, 2018
1 parent 79a924e commit 6701371
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/qgstest.h
Expand Up @@ -26,6 +26,7 @@
int main(int argc, char *argv[]) \
{ \
QgsApplication app(argc, argv, false); \
app.init(); \
app.setAttribute(Qt::AA_Use96Dpi, true); \
QTEST_DISABLE_KEYPAD_NAVIGATION \
QTEST_ADD_GPU_BLACKLIST_SUPPORT \
Expand Down

0 comments on commit 6701371

Please sign in to comment.