From 751626eec574363ef694e1301744704915e6b2ea Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 31 Mar 2017 16:15:14 +0200 Subject: QML UI: Fully port dive edit to Kirigami2 Completely adapt to the api changes of OverlaySheet in Kirigami2 in order to achieve the same look and behavior for the dive edits that had with kirigami1 Port most components to QtQuickContrls2, except comboboxes in the dive edit sheet that will need a new control type Signed-off-by: Marco Martin --- subsurface-mobile-main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'subsurface-mobile-main.cpp') diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index c64368ceb..69b628ab9 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -20,6 +20,7 @@ int main(int argc, char **argv) { int i; + QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true")); QApplication *application = new QApplication(argc, argv); (void)application; -- cgit v1.2.3-70-g09d2