diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-11-20 13:35:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-11-20 13:35:11 +0900 |
commit | 3b73654a279458e28f225b2cce77bee098fe1739 (patch) | |
tree | bba6dcc915ca8b4a518c197bc58cd00f7558fdd0 /kcontrol/arts/arts.cpp | |
parent | 46acebe4a0a93375e76c9a98481d03b64adfe357 (diff) | |
download | tdebase-3b73654a279458e28f225b2cce77bee098fe1739.tar.gz tdebase-3b73654a279458e28f225b2cce77bee098fe1739.zip |
Fixed help handbook sections for Sound & Multimedia -> Sound System. This relates to bug 1850.
Diffstat (limited to 'kcontrol/arts/arts.cpp')
-rw-r--r-- | kcontrol/arts/arts.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/kcontrol/arts/arts.cpp b/kcontrol/arts/arts.cpp index 02e8af03c..388776bc1 100644 --- a/kcontrol/arts/arts.cpp +++ b/kcontrol/arts/arts.cpp @@ -152,7 +152,7 @@ KArtsModule::KArtsModule(TQWidget *parent, const char *name) initAudioIOList(); TQVBoxLayout *layout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); - TQTabWidget *tab = new TQTabWidget(this); + tab = new TQTabWidget(this); layout->addWidget(tab); general = new generalTab(tab); @@ -412,6 +412,17 @@ void KArtsModule::save() emit changed( false ); } +TQString KArtsModule::handbookSection() const +{ + int index = tab->currentPageIndex(); + if (index == 0) + return "sndserver-general"; + else if (index == 1) + return "sndserver-soundio"; + else + return TQString::null; +} + int KArtsModule::userSavedChanges() { int reply; |