Fix rendering on non HiDPI screens

This commit is contained in:
Cameron Armstrong (Nightfox)
2021-03-28 09:05:36 +08:00
parent dac2b4ff16
commit 08b217ab5f
5 changed files with 14 additions and 9 deletions
-2
View File
@@ -97,8 +97,6 @@ int main(int argc, char *argv[])
engine.rootContext()->setContextProperty("fileIO", &fileIO);
engine.rootContext()->setContextProperty("monospaceSystemFonts", monospaceFontManager.retrieveMonospaceFonts());
engine.rootContext()->setContextProperty("devicePixelRatio", app.devicePixelRatio());
// Manage import paths for Linux and OSX.
QStringList importPathList = engine.importPathList();
importPathList.prepend(QCoreApplication::applicationDirPath() + "/qmltermwidget");