aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 0 insertions, 5 deletions
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);