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()
|
static void Sync()
|
||||||
{
|
{
|
||||||
int prglo;
|
int prglo = 0;
|
||||||
int prghi;
|
int prghi = 0;
|
||||||
|
|
||||||
int outb = outer << 1;
|
int outb = outer << 1;
|
||||||
//this can probably be rolled up, but i have no motivation to do so
|
//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 consoleWin_t::getViewerCursor(void)
|
||||||
{
|
{
|
||||||
Qt::CursorShape s;
|
Qt::CursorShape s = Qt::ArrowCursor;
|
||||||
|
|
||||||
if ( viewport_GL )
|
if ( viewport_GL )
|
||||||
{
|
{
|
||||||
|
|
|
@ -727,9 +727,11 @@ static const char *getRoleText( QPalette::ColorRole role )
|
||||||
case QPalette::ToolTipText:
|
case QPalette::ToolTipText:
|
||||||
rTxt = "ToolTipText";
|
rTxt = "ToolTipText";
|
||||||
break;
|
break;
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
|
||||||
case QPalette::PlaceholderText:
|
case QPalette::PlaceholderText:
|
||||||
rTxt = "PlaceholderText";
|
rTxt = "PlaceholderText";
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case QPalette::Text:
|
case QPalette::Text:
|
||||||
rTxt = "Text";
|
rTxt = "Text";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue