Commit 168165a1 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

UI: fix window resizing on macOS

Change-Id: Ib92cf40dafd02f1bdc55ba51bfce0744fe4d88fc
parent a03b614e
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment