qt5base-lts/examples
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
..
animation QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
dbus QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
desktop QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
dialogs QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
draganddrop QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
effects QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
embedded QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
gestures QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
graphicsview QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
ipc QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
itemviews QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
ja_JP/linguist/hellotr QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
layouts QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
linguist QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
mainwindows QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
network Fix FTP example to handle failure to open network session 2011-10-20 23:56:52 +02:00
opengl QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
painting QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
qmake fix pro files 2011-05-07 23:50:03 +02:00
qpa Add missing license headers 2011-09-15 03:27:45 +02:00
qtconcurrent QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
qtestlib QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
qws QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
richtext QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
scroller QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
sql QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
statemachine QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
threads QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
tools QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
touch QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
tutorials QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
webkit/webkit-guide Merge remote branch 'gerrit/master' into refactor 2011-07-06 14:08:02 +02:00
widgets QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
xml QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
examples.pro QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.