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" diff --git a/addon/compiler_hint/archlinux.tl b/addon/compiler_hint/archlinux.tl index cb4b05df..cdc8140c 100644 --- a/addon/compiler_hint/archlinux.tl +++ b/addon/compiler_hint/archlinux.tl @@ -229,9 +229,6 @@ global function main(): CompilerHint ) ) then if C_FileSystem.isExecutable("/usr/bin/x86_64-w64-mingw32-gcc") then - local extraObjects = { - } - do local release, _, _ = generateConfig( lang, "GCC", "mingw",