diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 8b80354b..ab73f887 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -4552,7 +4552,7 @@ QSize Editor::calcCompletionPopupSize() { #if QT_VERSION_MAJOR==5 && QT_VERSION_MINOR < 15 int screenHeight = qApp->primaryScreen()->size().height(); - int screenWidht = qApp->primaryScreen()->size().width; + int screenWidth = qApp->primaryScreen()->size().width(); #else int screenHeight = screen()->size().height(); int screenWidth = screen()->size().width(); diff --git a/RedPandaIDE/toolsmanager.cpp b/RedPandaIDE/toolsmanager.cpp index 36f07623..4e1af97b 100644 --- a/RedPandaIDE/toolsmanager.cpp +++ b/RedPandaIDE/toolsmanager.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include "settings.h" #include "systemconsts.h"