From e9f754382fbc7cecfb7b4773968b2cddd42a8600 Mon Sep 17 00:00:00 2001 From: Cyano Hao Date: Fri, 12 Apr 2024 12:57:14 +0800 Subject: [PATCH 1/2] fix teal--lua consistency in compiler hint (#378) --- addon/compiler_hint/archlinux.tl | 3 --- 1 file changed, 3 deletions(-) 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", From 6388e3ae23c9d043048f7805aa2e1002144aedcc Mon Sep 17 00:00:00 2001 From: Cyano Hao Date: Fri, 12 Apr 2024 12:57:40 +0800 Subject: [PATCH 2/2] fix windows xp build (#379) --- RedPandaIDE/editor.cpp | 2 +- RedPandaIDE/toolsmanager.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"