Skip to content
Snippets Groups Projects
Commit 8100cf56 authored by Vladimir Stoiakin's avatar Vladimir Stoiakin Committed by Sébastien Blin
Browse files

mainapplication: set a desktop file name explicitly

GitLab: #743
Change-Id: I324d2e7923b4d3c907f4edf89b2db7f9f998a50c
parent ff237e59
No related branches found
No related tags found
No related merge requests found
......@@ -99,8 +99,8 @@ main(int argc, char* argv[])
qtWebEngineChromiumFlags << singleProcess;
#endif
QApplication::setApplicationName("Jami");
QApplication::setOrganizationDomain("jami.net");
QApplication::setApplicationName(QStringLiteral("Jami"));
QApplication::setOrganizationDomain(QStringLiteral("jami.net"));
QApplication::setQuitOnLastWindowClosed(false);
QCoreApplication::setApplicationVersion(QString(VERSION_STRING));
QApplication::setHighDpiScaleFactorRoundingPolicy(
......@@ -109,6 +109,7 @@ main(int argc, char* argv[])
auto newArgv = parseInputArgument(argc, argv, qtWebEngineChromiumFlags);
MainApplication app(argc, newArgv);
app.setDesktopFileName(QStringLiteral("jami-qt"));
#if defined(Q_OS_MACOS)
if (macutils::isMetalSupported()) {
QQuickWindow::setGraphicsApi(QSGRendererInterface::MetalRhi);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment