X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=gui%2Fserverlist.cpp;h=f49708ca53b8661671afd50b1af74af70a34da7a;hb=fd718b6209f1ad2bcd199c44c2dae3b0cb0f633b;hp=39901cc5b21db3365408f7991a4cc6cb7c62edc9;hpb=82403b8a8777d44cbc35619e3bbd4feabfad5dc4;p=quassel.git diff --git a/gui/serverlist.cpp b/gui/serverlist.cpp index 39901cc5..f49708ca 100644 --- a/gui/serverlist.cpp +++ b/gui/serverlist.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005 by The Quassel Team * + * Copyright (C) 2005-07 by The Quassel Team * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -50,7 +50,6 @@ ServerListDlg::ServerListDlg(QWidget *parent) : QDialog(parent) { list << net; } } - qDebug() << "Autoconnect:"<setCheckState(Qt::Checked); ui.serverList->addItem(item); } + ui.performEdit->clear(); + ui.performEdit->setText( network["Perform"].toString() ); updateServerButtons(); } @@ -259,6 +260,7 @@ void NetworkEditDlg::accept() { /*if(ui.networkGroup->currentText() == "") network["Group"] = ""; else */ network["Group"] = ui.networkGroup->currentText(); network["AutoConnect"] = ui.enableAutoConnect->isChecked(); + network["Perform"] = ui.performEdit->toPlainText(); if(ui.identityList->currentIndex()) network["Identity"] = ui.identityList->currentText(); else network["Identity"] = "Default"; QDialog::accept();