Added to fix Qt build issue with pre Qt 5.12 builds.

This commit is contained in:
mjbudd77 2021-03-21 08:34:08 -04:00
parent 451b0f8474
commit b825454fee
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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 )
{

View File

@ -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;