diff options
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 634e068f..8e65b394 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -172,7 +172,7 @@ int Application::newInstance() Application *Application::instance() { - return (static_cast<Application *>(QCoreApplication::instance())); + return (qobject_cast<Application *>(QCoreApplication::instance())); } |