| Summary: | Control -- Appearance & Themes --> Background --> Get New Themes - Does Not Work | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | tilleyrw |
| Component: | knewstuff | Assignee: | Josef Spillner <spillner> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | everettattebury, frederic, matteo.andreozzi |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
tilleyrw
2006-08-07 01:56:59 UTC
This happens too in Superkaramba theme selector. This happens here too, in all knewstuff dialogs. KDE 3.5.4 on Gentoo SVN commit 585244 by kling:
Unbreak "latest" and "most downloads" views.
BUG: 131979
BUG: 133852
M +3 -2 downloaddialog.cpp
M +1 -1 downloaddialog.h
--- branches/KDE/3.5/kdelibs/knewstuff/downloaddialog.cpp #585243:585244
@@ -255,7 +255,7 @@
ctl->addTab(w_l, i18n("Latest"));
m_curtab = 0;
- connect(ctl, SIGNAL(tabSelected(int)), SLOT(slotTab(int)));
+ connect(ctl, SIGNAL(currentChanged(QWidget *)), SLOT(slotTab()));
QHBoxLayout *box = new QHBoxLayout(frame);
box->add(ctl);
@@ -601,8 +601,9 @@
delete m_s;
}
-void DownloadDialog::slotTab(int tab)
+void DownloadDialog::slotTab()
{
+ int tab = static_cast<const QTabWidget *>(sender())->currentPageIndex();
kdDebug() << "switch tab to: " << tab << endl;
Entry *eold = getEntry();
--- branches/KDE/3.5/kdelibs/knewstuff/downloaddialog.h #585243:585244
@@ -216,7 +216,7 @@
void slotInstall();
void slotDetails();
void slotInstalled(KIO::Job *job);
- void slotTab(int tab);
+ void slotTab();
void slotSelected();
void slotPage(QWidget *w);
void slotFinish();
*** Bug 133188 has been marked as a duplicate of this bug. *** *** Bug 134823 has been marked as a duplicate of this bug. *** |