From 5e9ffe30053454ef9d058c7e7d41f55508cb66d7 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 6 Jul 2019 10:58:10 +0200 Subject: Cleanup: remove unused get_screen_dpi() function Signed-off-by: Berthold Stoeger --- subsurface-helper.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'subsurface-helper.cpp') 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 -#include -#include #include #include @@ -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() { -- cgit v1.2.3-70-g09d2