Workaround for Qt redraw bug on Mac OS.

This commit is contained in:
lotodore
2009-07-12 12:04:32 +00:00
parent efe20f6275
commit 6c464107cc
@@ -308,6 +308,11 @@ void gameLobbyDialogImpl::gameSelected(const QModelIndex &index, const QModelInd
addConnectedPlayer(*i, QString::fromUtf8(playerInfo.playerName.c_str()), tmpRights);
++i;
}
#ifdef __APPLE__
// Dirty workaround for a Qt redraw bug on Mac OS.
treeWidget_connectedPlayers->setFocus();
treeView_GameList->setFocus();
#endif
}
}