diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-06-15 07:28:31 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-06-15 07:28:31 (GMT) |
commit | a612366300aef70d2574b3f738afebdb106f1214 (patch) | |
tree | d86fce2c281ce98873fd1a41216ebc1ba95c5b09 /demos/embedded/desktopservices/linktab.h | |
parent | 9b34c6dffcb19664e336d4b51092e042e861f475 (diff) | |
download | Qt-a612366300aef70d2574b3f738afebdb106f1214.zip Qt-a612366300aef70d2574b3f738afebdb106f1214.tar.gz Qt-a612366300aef70d2574b3f738afebdb106f1214.tar.bz2 |
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 2ce1094..a9c9868 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; |