summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-06-17 07:54:10 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-06-17 07:54:10 (GMT)
commit53c3e52cbd7194ef2e2e4b4648f5fac9cd780930 (patch)
tree8da3a1aae739c395330fb06c1607517e7b6216cd /examples
parent2863388626e3e2f98b8f5779f751bb0d834a612e (diff)
downloadQt-53c3e52cbd7194ef2e2e4b4648f5fac9cd780930.zip
Qt-53c3e52cbd7194ef2e2e4b4648f5fac9cd780930.tar.gz
Qt-53c3e52cbd7194ef2e2e4b4648f5fac9cd780930.tar.bz2
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')
-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 52c31e0..abfb6cc 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;
}