diff --git a/main.h b/main.h index 0dae97c42a..22179babc9 100644 --- a/main.h +++ b/main.h @@ -83,6 +83,11 @@ private: static int crashes; }; +inline static Application *kwinApp() +{ + return static_cast(QCoreApplication::instance()); +} + } // namespace #endif