diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-06 10:58:10 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-07-06 04:10:14 -0700 |
commit | 5e9ffe30053454ef9d058c7e7d41f55508cb66d7 (patch) | |
tree | fb4a83bfd2663a5b8b6d9241a8ed5f402c4b6f9c /subsurface-helper.cpp | |
parent | 675288f7111ea6b8016d0e10aa514f2226008b4f (diff) | |
download | subsurface-5e9ffe30053454ef9d058c7e7d41f55508cb66d7.tar.gz |
Cleanup: remove unused get_screen_dpi() function
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r-- | subsurface-helper.cpp | 9 |
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() { |