default selection of serverlist

This commit is contained in:
doitux
2009-04-05 22:25:43 +00:00
parent 12b22e7e0a
commit 7020e6fa85
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -10,7 +10,7 @@
</rect>
</property>
<property name="windowTitle" >
<string>Internet-Game Serverlist</string>
<string>Server List</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
@@ -23,7 +23,7 @@
</property>
<column>
<property name="text" >
<string>Servername</string>
<string>Server Name</string>
</property>
</column>
<column>
@@ -58,6 +58,7 @@ void serverListDialogImpl::addServerItem(unsigned serverId)
item->setData(1, Qt::DisplayRole, QString::fromUtf8(info.country.c_str()));
treeWidget_serverList->resizeColumnToContents(0);
treeWidget_serverList->setCurrentItem(treeWidget_serverList->topLevelItem(0));
}
void serverListDialogImpl::connectToServer()