macOS: Use the native emoji picker

fixes #79
This commit is contained in:
Konstantinos Sideris 2018-09-19 23:38:36 +03:00
parent 1716502eff
commit 1b7816f7ca
5 changed files with 63 additions and 2 deletions

View file

@ -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();