From 62285b01dc77ef14e4b5b9cc291e34162321ad89 Mon Sep 17 00:00:00 2001 From: dsc Date: Thu, 25 Apr 2019 21:09:23 +0200 Subject: Remove scaleRatio --- main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 79c48abf..eca65333 100644 --- a/main.cpp +++ b/main.cpp @@ -282,11 +282,6 @@ int main(int argc, char *argv[]) engine.rootContext()->setContextProperty("screenWidth", geo.width()); engine.rootContext()->setContextProperty("screenHeight", geo.height()); -#ifdef Q_OS_ANDROID - engine.rootContext()->setContextProperty("scaleRatio", calculated_ratio); -#else - engine.rootContext()->setContextProperty("scaleRatio", 1); -#endif #ifndef Q_OS_IOS const QString desktopFolder = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); -- cgit v1.2.3