Workaround for Qt redraw bug on Mac OS.
This commit is contained in:
@@ -308,6 +308,11 @@ void gameLobbyDialogImpl::gameSelected(const QModelIndex &index, const QModelInd
|
|||||||
addConnectedPlayer(*i, QString::fromUtf8(playerInfo.playerName.c_str()), tmpRights);
|
addConnectedPlayer(*i, QString::fromUtf8(playerInfo.playerName.c_str()), tmpRights);
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
#ifdef __APPLE__
|
||||||
|
// Dirty workaround for a Qt redraw bug on Mac OS.
|
||||||
|
treeWidget_connectedPlayers->setFocus();
|
||||||
|
treeView_GameList->setFocus();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user