fix windows xp build (#379)
This commit is contained in:
parent
e9f754382f
commit
6388e3ae23
|
@ -4552,7 +4552,7 @@ QSize Editor::calcCompletionPopupSize()
|
||||||
{
|
{
|
||||||
#if QT_VERSION_MAJOR==5 && QT_VERSION_MINOR < 15
|
#if QT_VERSION_MAJOR==5 && QT_VERSION_MINOR < 15
|
||||||
int screenHeight = qApp->primaryScreen()->size().height();
|
int screenHeight = qApp->primaryScreen()->size().height();
|
||||||
int screenWidht = qApp->primaryScreen()->size().width;
|
int screenWidth = qApp->primaryScreen()->size().width();
|
||||||
#else
|
#else
|
||||||
int screenHeight = screen()->size().height();
|
int screenHeight = screen()->size().height();
|
||||||
int screenWidth = screen()->size().width();
|
int screenWidth = screen()->size().width();
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include <QJsonDocument>
|
#include <QJsonDocument>
|
||||||
#include <QJsonObject>
|
#include <QJsonObject>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <QUuid>
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "systemconsts.h"
|
#include "systemconsts.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue