X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fnetworkssettingspage.cpp;h=4fb60da25bef3031d731716d7c3a8b7c3d49ee52;hp=8b448e00ae61a91583bd621e86ba4baf0dd6c1f1;hb=d3ea803d8977692f95bbe31fbaba3686fc2ce5a9;hpb=c90c9160da1123ce99460c9b3ceef58b1ad21bf2 diff --git a/src/qtui/settingspages/networkssettingspage.cpp b/src/qtui/settingspages/networkssettingspage.cpp index 8b448e00..4fb60da2 100644 --- a/src/qtui/settingspages/networkssettingspage.cpp +++ b/src/qtui/settingspages/networkssettingspage.cpp @@ -175,10 +175,6 @@ void NetworksSettingsPage::setWidgetStates() { ui.upServer->setEnabled(false); ui.downServer->setEnabled(false); } - - // FIXME disable network creation/deletion because of the storage issue - ui.deleteNetwork->setEnabled(false); - ui.renameNetwork->setEnabled(false); } void NetworksSettingsPage::setItemState(NetworkId id, QListWidgetItem *item) { @@ -418,8 +414,7 @@ void NetworksSettingsPage::on_deleteNetwork_clicked() { if(ui.networkList->selectedItems().count()) { NetworkId netid = ui.networkList->selectedItems()[0]->data(Qt::UserRole).value(); int ret = QMessageBox::question(this, tr("Delete Network?"), - tr("Do you really want to delete the network \"%1\" and all related settings, including the backlog?" - "

NOTE: Backlog deletion hasn't actually been implemented yet.").arg(networkInfos[netid].networkName), + tr("Do you really want to delete the network \"%1\" and all related settings, including the backlog?").arg(networkInfos[netid].networkName), QMessageBox::Yes|QMessageBox::No, QMessageBox::No); if(ret == QMessageBox::Yes) { currentId = 0;