summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-06-17 09:54:10 +0200
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-06-17 09:54:10 +0200
commit53c3e52cbd7194ef2e2e4b4648f5fac9cd780930 (patch)
tree8da3a1aae739c395330fb06c1607517e7b6216cd /examples/network
parent2863388626e3e2f98b8f5779f751bb0d834a612e (diff)
Making the writing in the status label in sync with the current state.
The writings were wrong after i.e. ftp -> connect -> disconnect.
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/ftp/ftpwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/network/ftp/ftpwindow.cpp b/examples/network/ftp/ftpwindow.cpp
index 52c31e0bc0..abfb6cc85c 100644
--- a/examples/network/ftp/ftpwindow.cpp
+++ b/examples/network/ftp/ftpwindow.cpp
@@ -139,6 +139,7 @@ void FtpWindow::connectOrDisconnect()
#ifndef QT_NO_CURSOR
setCursor(Qt::ArrowCursor);
#endif
+ statusLabel->setText(tr("Please enter the name of an FTP server."));
return;
}