diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-09 22:07:33 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-09 22:07:33 -0500 |
commit | cc12a51c629cfaec41a6170a480ea0a757b26f54 (patch) | |
tree | 636f3cbfde6fc6d7c7afb51cf9a99690423414e5 /kcontrol/kcontrol | |
parent | 4e5a99f6d298ecd31eb229b14fabaaf4fb5b8d8e (diff) | |
download | tdebase-cc12a51c629cfaec41a6170a480ea0a757b26f54.tar.gz tdebase-cc12a51c629cfaec41a6170a480ea0a757b26f54.zip |
Link tabs to handbook sections in Style and Panels tdecontrol modules
This relates to Bug 1850
Diffstat (limited to 'kcontrol/kcontrol')
-rw-r--r-- | kcontrol/kcontrol/helpwidget.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kcontrol/kcontrol/helpwidget.cpp b/kcontrol/kcontrol/helpwidget.cpp index 5407f8027..0bcf82796 100644 --- a/kcontrol/kcontrol/helpwidget.cpp +++ b/kcontrol/kcontrol/helpwidget.cpp @@ -65,6 +65,11 @@ TQString HelpWidget::text() const bool HelpWidget::clicked(const TQString & _url) { TQString textUrl = _url; + + if ( textUrl.isNull() ) { + return true; + } + ConfigModule* dockModule = _dock->module(); if ( dockModule) { TQString section = dockModule->module()->handbookSection(); @@ -73,9 +78,6 @@ bool HelpWidget::clicked(const TQString & _url) } } - if ( textUrl.isNull() ) - return true; - if ( textUrl.find('@') > -1 ) { kapp->invokeMailer(textUrl); return true; |