mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Try to speed up filling the public server list on X11.
Set a name on the GlobalShortcutConfig for skinning. git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1152 05730e5d-ab1b-0410-a4ac-84af385074fa
This commit is contained in:
parent
6092849b23
commit
4479f08e36
@ -166,13 +166,16 @@ void ConnectDialog::initList() {
|
||||
void ConnectDialog::fillList() {
|
||||
qtwServers->clear();
|
||||
|
||||
QList<QTreeWidgetItem *> ql;
|
||||
|
||||
foreach(PublicInfo pi, qlPublicServers) {
|
||||
QStringList qsl;
|
||||
qsl << pi.name;
|
||||
qsl << QString::fromLatin1("%1:%2").arg(pi.ip).arg(pi.port);
|
||||
qsl << pi.url.toString();
|
||||
new TextSortedItem(qtwServers,qsl);
|
||||
ql << new TextSortedItem(NULL,qsl);
|
||||
}
|
||||
qtwServers->addTopLevelItems(ql);
|
||||
}
|
||||
|
||||
void ConnectDialog::on_qpbURL_clicked() {
|
||||
|
||||
@ -105,6 +105,7 @@ void ShortcutKeyWidget::displayKeys() {
|
||||
}
|
||||
|
||||
GlobalShortcutConfig::GlobalShortcutConfig(Settings &st) : ConfigWidget(st) {
|
||||
setObjectName(QLatin1String("GlobalShortcutConfig"));
|
||||
QGroupBox *qgbShortcuts = new QGroupBox(tr("Shortcuts"));
|
||||
QLabel *lab;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user