mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Cleanup: remove unused get_screen_dpi() function
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
675288f711
commit
5e9ffe3005
2 changed files with 0 additions and 11 deletions
|
@ -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 {
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue