aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-04-25 15:27:19 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-04-25 15:27:19 -0500
commitb0ba2379f4c657999510b054a22cb5c906e71e8a (patch)
tree5d5c4d35786fb65052784fe6a70e3d08dac2eb01 /main.cpp
parent5887f87677b40b70b689e20056a57957157ed481 (diff)
parent62285b01dc77ef14e4b5b9cc291e34162321ad89 (diff)
downloadmonzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.tar.gz
monzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.tar.xz
monzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.zip
Merge pull request #2069
62285b0 Remove scaleRatio (xmrdsc)
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);