default selection of serverlist
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user