[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/kfile
From:       Laurent Montel <montel () kde ! org>
Date:       2008-01-08 12:16:50
Message-ID: 1199794610.556431.12676.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 758584 by mlaurent:

Don't use deprecated signal


 M  +2 -2      kdiroperator.cpp  


--- branches/KDE/4.0/kdelibs/kfile/kdiroperator.cpp #758583:758584
@@ -1563,12 +1563,12 @@
     KToggleAction *shortAction = new KToggleAction(i18n("Short View"), this);
     d->actionCollection->addAction("short view",  shortAction);
     shortAction->setIcon(KIcon(QLatin1String("view-list-icons")));
-    connect(shortAction, SIGNAL(activated()), SLOT(_k_slotSimpleView()));
+    connect(shortAction, SIGNAL(triggered()), SLOT(_k_slotSimpleView()));
 
     KToggleAction *detailedAction = new KToggleAction(i18n("Detailed View"), this);
     d->actionCollection->addAction("detailed view", detailedAction);
     detailedAction->setIcon(KIcon(QLatin1String("view-list-details")));
-    connect(detailedAction, SIGNAL(activated()), SLOT(_k_slotDetailedView()));
+    connect(detailedAction, SIGNAL(triggered ()), SLOT(_k_slotDetailedView()));
 
     QActionGroup* viewGroup = new QActionGroup(this);
     shortAction->setActionGroup(viewGroup);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic