diff options
| author | iamgoofball <iamgoofball@gmail.com> | 2018-10-17 08:11:52 -0700 |
|---|---|---|
| committer | iamgoofball <iamgoofball@gmail.com> | 2018-10-17 08:11:52 -0700 |
| commit | b56421365ab75173facef74cdaf8d77d51df6d0f (patch) | |
| tree | 7128f12d08ea716b1c02a62156dce30240f0a28f /main.cpp | |
| parent | d1347b2243c1595557d7b89d40eb88a68a94375b (diff) | |
APNG Support
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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(); } |
