This commit is contained in:
doitux
2007-03-22 01:24:01 +00:00
parent a93e8ba01f
commit 1444caf548
3 changed files with 17 additions and 9 deletions
@@ -41,6 +41,12 @@ void startNetworkGameDialogImpl::cancel() {
}
void startNetworkGameDialogImpl::addConnectedPlayer(std::string playerName) {
QTreeWidgetItem *item = new QTreeWidgetItem(treeWidget,0);
item->setData(0, 0, QString::fromStdString(playerName));
}
void startNetworkGameDialogImpl::keyPressEvent ( QKeyEvent * event ) {