summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-28 01:34:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-28 01:34:04 +0300
commit7900408adc2b6db601373de2730a80707ec4c837 (patch)
treed86e05a374a1cb16c2e03d0a6a69358339fadac4 /src/gui/serverdialog.cpp
parentd05f3904b05e8af1cd319d75a380b2cce7edf77d (diff)
downloadmv-7900408adc2b6db601373de2730a80707ec4c837.tar.gz
mv-7900408adc2b6db601373de2730a80707ec4c837.tar.bz2
mv-7900408adc2b6db601373de2730a80707ec4c837.tar.xz
mv-7900408adc2b6db601373de2730a80707ec4c837.zip
Fix different warnings from previous commits.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 4ba2bca1d..5e7c80515 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -476,10 +476,6 @@ void ServerDialog::valueChanged(const gcn::SelectionEvent &)
mDeleteButton->setEnabled(false);
return;
}
-
- // Update the server and post fields according to the new selection
- const ServerInfo &myServer = mServersListModel->getServer(index);
-
mDeleteButton->setEnabled(true);
}