diff options
Diffstat (limited to 'src/app.cpp')
-rw-r--r-- | src/app.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.cpp b/src/app.cpp index 5ebf6813..4a7d97f3 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -70,7 +70,7 @@ auto StartApplication(const GFCxtWPtr& p_ctx) -> int { return -1; } - auto* app = qobject_cast<QApplication*>(ctx->app.get()); + auto* app = ctx->GetGuiApp(); if (app == nullptr) { SPDLOG_ERROR("cannot get qapplication from gpgfrontend context."); return -1; |