mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern double get_screen_dpi(void);
|
|
||||||
|
|
||||||
/* Plot info with smoothing, velocity indication
|
/* Plot info with smoothing, velocity indication
|
||||||
* and one-, two- and three-minute minimums and maximums */
|
* and one-, two- and three-minute minimums and maximums */
|
||||||
struct plot_info {
|
struct plot_info {
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
#include <QQmlEngine>
|
#include <QQmlEngine>
|
||||||
#include <QDesktopWidget>
|
|
||||||
#include <QApplication>
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QQuickItem>
|
#include <QQuickItem>
|
||||||
|
|
||||||
|
@ -55,13 +53,6 @@ void exit_ui()
|
||||||
free((void *)existing_filename);
|
free((void *)existing_filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
double get_screen_dpi()
|
|
||||||
{
|
|
||||||
QDesktopWidget *mydesk = qApp->desktop();
|
|
||||||
return mydesk->physicalDpiX();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void run_ui()
|
void run_ui()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue