disabled non client dpi scaling until issue is fixed

This commit is contained in:
fourtf
2017-12-18 02:47:01 +01:00
parent 929552f74d
commit cca065f0f9
7 changed files with 12 additions and 13 deletions
+3 -4
View File
@@ -2,10 +2,9 @@
#include "colorscheme.hpp"
#include "settingsmanager.hpp"
//#include <QApplication>
#include <QDebug>
//#include <QDesktopWidget>
//#include <QScreen>
#include <QLayout>
#include <QtGlobal>
#include <boost/signals2.hpp>
#include "util/nativeeventhelper.hpp"
@@ -91,7 +90,7 @@ bool BaseWidget::nativeEvent(const QByteArray &eventType, void *message, long *r
this->dpiMultiplier = dpi / 96.f;
float scale = this->dpiMultiplier / oldDpiMultiplier;
this->dpiMultiplyerChanged(oldDpiMultiplier, this->dpiMultiplier);
this->dpiMultiplierChanged(oldDpiMultiplier, this->dpiMultiplier);
this->resize(static_cast<int>(this->width() * scale),
static_cast<int>(this->height() * scale));