Added to fix Qt build issue with pre Qt 5.12 builds.
This commit is contained in:
parent
451b0f8474
commit
b825454fee
|
@ -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
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue