diff --git a/src/boards/28.cpp b/src/boards/28.cpp index 46131398..473cca45 100644 --- a/src/boards/28.cpp +++ b/src/boards/28.cpp @@ -53,8 +53,8 @@ void Mirror(uint8 value) static void Sync() { - int prglo; - int prghi; + int prglo = 0; + int prghi = 0; int outb = outer << 1; //this can probably be rolled up, but i have no motivation to do so diff --git a/src/drivers/Qt/ConsoleWindow.cpp b/src/drivers/Qt/ConsoleWindow.cpp index 6176c20c..6b55df99 100644 --- a/src/drivers/Qt/ConsoleWindow.cpp +++ b/src/drivers/Qt/ConsoleWindow.cpp @@ -444,7 +444,7 @@ void consoleWin_t::setViewerCursor( Qt::CursorShape s ) Qt::CursorShape consoleWin_t::getViewerCursor(void) { - Qt::CursorShape s; + Qt::CursorShape s = Qt::ArrowCursor; if ( viewport_GL ) { diff --git a/src/drivers/Qt/GuiConf.cpp b/src/drivers/Qt/GuiConf.cpp index f282d3cc..1b21df31 100644 --- a/src/drivers/Qt/GuiConf.cpp +++ b/src/drivers/Qt/GuiConf.cpp @@ -727,9 +727,11 @@ static const char *getRoleText( QPalette::ColorRole role ) case QPalette::ToolTipText: rTxt = "ToolTipText"; break; +#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) case QPalette::PlaceholderText: rTxt = "PlaceholderText"; break; +#endif case QPalette::Text: rTxt = "Text"; break;