summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp

index 77e62381..65fb9b75 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -38,6 +38,10 @@ #include "Utils.h" #include "version.h" +#if defined(Q_OS_MAC) +#include "emoji/MacHelper.h" +#endif + #if defined(Q_OS_LINUX) #include <boost/stacktrace.hpp> #include <signal.h> @@ -186,6 +190,12 @@ main(int argc, char *argv[]) } }); +#if defined(Q_OS_MAC) + // Temporary solution for the emoji picker until + // nheko has a proper menu bar with more functionality. + MacHelper::initializeMenus(); +#endif + nhlog::ui()->info("starting nheko {}", nheko::version); return app.exec();