fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/kdelibs/devel kdelibs-3.5.4-kde#131979.patch, NONE, 1.1 kdelibs.spe

Subject: rpms/kdelibs/devel kdelibs-3.5.4-kde#131979.patch, NONE, 1.1 kdelibs.spec, 1.184, 1.185
From:
Date: Mon, 18 Sep 2006 11:01:23 -0400
Author: than

Update of /cvs/dist/rpms/kdelibs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6543

Modified Files:
        kdelibs.spec 
Added Files:
        kdelibs-3.5.4-kde#131979.patch 
Log Message:
fix #131979, unbreak "latest" and "most downloads" views



kdelibs-3.5.4-kde#131979.patch:
 downloaddialog.cpp |    5 +++--
 downloaddialog.h   |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

--- NEW FILE kdelibs-3.5.4-kde#131979.patch ---
Index: knewstuff/downloaddialog.h
===================================================================
--- knewstuff/downloaddialog.h  (Revision 585243)
+++ knewstuff/downloaddialog.h  (Revision 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();
Index: knewstuff/downloaddialog.cpp
===================================================================
--- knewstuff/downloaddialog.cpp        (Revision 585243)
+++ knewstuff/downloaddialog.cpp        (Revision 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();


Index: kdelibs.spec
===================================================================
RCS file: /cvs/dist/rpms/kdelibs/devel/kdelibs.spec,v
retrieving revision 1.184
retrieving revision 1.185
diff -u -r1.184 -r1.185
--- kdelibs.spec        18 Sep 2006 14:08:42 -0000      1.184
+++ kdelibs.spec        18 Sep 2006 15:01:18 -0000      1.185
@@ -63,6 +63,7 @@
 Patch112: kdelibs-3.5.4-khtml-rendering.patch
 Patch113: kdelibs-3.5.4-kde#134118.patch
 Patch114: kdelibs-3.5.4-kde#133401.patch
+Patch115: kdelibs-3.5.4-kde#131979.patch
 
 %if %{arts}
 Requires: arts >= %{arts_epoch}:%{arts_version}
@@ -209,6 +210,7 @@
 %patch112 -p0 -b .khtml-rendering
 %patch113 -p0 -b .kde#134118
 %patch114 -p0 -b .kde#133401
+%patch115 -p0 -b .kde#131979
 
 perl -pi -e "s,^#define KDE_VERSION_STRING .*,#define KDE_VERSION_STRING 
\"%{version}-%{release} %{distname}\"," kdecore/kdeversion.h
 
@@ -443,6 +445,7 @@
    fix #134118, silent startup notification never going away
    fix #133401, crash when attempting to remove a standard shortcut that isn't 
actually in 
    the KStdAccel::ShortcutList
+   fix #131979, unbreak "latest" and "most downloads" views
 
 * Tue Sep 12 2006 Than Ngo <than@xxxxxxxxxx> 6:3.5.4-6
 - fix #205767, konsole no longer register itself to utmp

-- 
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/kdelibs/devel kdelibs-3.5.4-kde#131979.patch, NONE, 1.1 kdelibs.spec, 1.184, 1.185, fedora-cvs-commits <=