summaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r--subsurface-helper.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index 291a3e3bf..4d7774953 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -1,7 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include <QQmlEngine>
-#include <QDesktopWidget>
-#include <QApplication>
#include <QDebug>
#include <QQuickItem>
@@ -55,13 +53,6 @@ void exit_ui()
free((void *)existing_filename);
}
-double get_screen_dpi()
-{
- QDesktopWidget *mydesk = qApp->desktop();
- return mydesk->physicalDpiX();
-}
-
-
void run_ui()
{