aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authordsc <xmrdsc@protonmail.com>2019-04-25 21:09:23 +0200
committerdsc <xmrdsc@protonmail.com>2019-04-25 21:09:23 +0200
commit62285b01dc77ef14e4b5b9cc291e34162321ad89 (patch)
tree5ced9d312817ca03be17c242d1e2bd478b4fd1e5 /main.cpp
parente1c429110f5f2321ad0113a8097eab966d935dcd (diff)
downloadmonzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.tar.gz
monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.tar.xz
monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.zip
Remove scaleRatio
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);