qt5base-lts/examples/network/qftp
Shane Kearns 296bc32841 Fix FTP example to handle failure to open network session
The example code only dealt with successful opening of the session.
If the session open failed, the application is stuck because the
connect button is disabled.
Moved the session open to be part of connection.
Handled session open failure by puttin the UI back in the default
state where connection button is enabled.

Task-Number: QTBUG-9909
Reviewed-By: Miikka Heikkinen
(cherry picked from commit 104c22a68c422152ff3cf03eb3615e7826fefbd0)

Change-Id: Ifa40fcd8b83c43cda364b3ec5e58f80b539aa244
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
2011-10-20 23:56:52 +02:00
..
images Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
ftp.qrc Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
ftpwindow.cpp Fix FTP example to handle failure to open network session 2011-10-20 23:56:52 +02:00
ftpwindow.h Fix FTP example to handle failure to open network session 2011-10-20 23:56:52 +02:00
main.cpp QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
qftp.desktop Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
qftp.pro QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00