Workaround for Qt redraw bug on Mac OS.
This commit is contained in:
1 parent
efe20f6275
commit
6c464107cc
1 file changed
+5
@@ -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