Skip to content
Snippets Groups Projects
Commit 168165a1 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

UI: fix window resizing on macOS

Change-Id: Ib92cf40dafd02f1bdc55ba51bfce0744fe4d88fc
parent a03b614e
No related branches found
No related tags found
No related merge requests found
......@@ -77,14 +77,15 @@ main(int argc, char* argv[])
qtWebEngineChromiumFlags << disableWebSecurity;
qtWebEngineChromiumFlags << singleProcess;
QtWebEngineQuick::initialize();
QApplication::setApplicationName("Jami");
QApplication::setOrganizationDomain("jami.net");
QApplication::setQuitOnLastWindowClosed(false);
QCoreApplication::setApplicationVersion(QString(VERSION_STRING));
QApplication::setHighDpiScaleFactorRoundingPolicy(
Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#if defined(__APPLE__)
QQuickWindow::setGraphicsApi(QSGRendererInterface::Metal);
#endif
auto newArgv = parseInputArgument(argc, argv, qtWebEngineChromiumFlags);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment