aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authoriamgoofball <iamgoofball@gmail.com>2018-10-17 08:11:52 -0700
committeriamgoofball <iamgoofball@gmail.com>2018-10-17 08:11:52 -0700
commitb56421365ab75173facef74cdaf8d77d51df6d0f (patch)
tree7128f12d08ea716b1c02a62156dce30240f0a28f /main.cpp
parentd1347b2243c1595557d7b89d40eb88a68a94375b (diff)
APNG Support
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 5696e2e0..cf51b0af 100644
--- a/main.cpp
+++ b/main.cpp
@@ -5,9 +5,9 @@
#include "networkmanager.h"
#include "lobby.h"
#include "courtroom.h"
-
+#include <QPluginLoader>
#include <QDebug>
-
+Q_IMPORT_PLUGIN(ApngImagePlugin);
int main(int argc, char *argv[])
{
#if QT_VERSION > QT_VERSION_CHECK(5, 6, 0)
@@ -16,10 +16,10 @@ int main(int argc, char *argv[])
// packages up to Qt 5.6, so this is conditional.
AOApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
+
AOApplication main_app(argc, argv);
main_app.construct_lobby();
main_app.net_manager->connect_to_master();
main_app.w_lobby->show();
-
return main_app.exec();
}