summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/display.h2
-rw-r--r--subsurface-helper.cpp9
2 files changed, 0 insertions, 11 deletions
diff --git a/core/display.h b/core/display.h
index aad3c74e1..6b773a496 100644
--- a/core/display.h
+++ b/core/display.h
@@ -8,8 +8,6 @@
extern "C" {
#endif
-extern double get_screen_dpi(void);
-
/* Plot info with smoothing, velocity indication
* and one-, two- and three-minute minimums and maximums */
struct plot_info {
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()
{