Cleanup: remove unused get_screen_dpi() function

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-07-06 10:58:10 +02:00 committed by Dirk Hohndel
parent 675288f711
commit 5e9ffe3005
2 changed files with 0 additions and 11 deletions

View file

@ -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 {

View file

@ -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()
{