diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-06-15 10:28:31 +0300 |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-06-15 10:28:31 +0300 |
commit | a612366300aef70d2574b3f738afebdb106f1214 (patch) | |
tree | d86fce2c281ce98873fd1a41216ebc1ba95c5b09 /demos/embedded/desktopservices/linktab.h | |
parent | 9b34c6dffcb19664e336d4b51092e042e861f475 (diff) | |
download | qt4-tools-a612366300aef70d2574b3f738afebdb106f1214.tar.gz |
Added error handling to qdesktopservices example when openUrl fails.
Now qdesktopservices example will show message box if openUrl call
fails i.e. returns false.
Diffstat (limited to 'demos/embedded/desktopservices/linktab.h')
-rw-r--r-- | demos/embedded/desktopservices/linktab.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/embedded/desktopservices/linktab.h b/demos/embedded/desktopservices/linktab.h index 2ce1094501..a9c986804c 100644 --- a/demos/embedded/desktopservices/linktab.h +++ b/demos/embedded/desktopservices/linktab.h @@ -71,6 +71,7 @@ public: // Constructors & Destructors protected: // Derived Methods virtual void populateListWidget(); virtual QUrl itemUrl(QListWidgetItem *item); + virtual void handleErrorInOpen(QListWidgetItem *item); private: // Used variables QListWidgetItem *m_WebItem; |