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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/dialogs
From:       Seb Ruiz <ruiz () kde ! org>
Date:       2008-10-27 7:38:35
Message-ID: 1225093115.201462.8182.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 876334 by seb:

No need to declare this push button as a member variable


 M  +2 -2      CollectionSetup.cpp  
 M  +0 -2      CollectionSetup.h  


--- trunk/extragear/multimedia/amarok/src/dialogs/CollectionSetup.cpp #876333:876334
@@ -59,8 +59,8 @@
     m_view->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
     connect( m_view, SIGNAL( clicked( const QModelIndex & ) ), this, SIGNAL( \
changed() ) );  
-    m_rescan = new KPushButton( KIcon( "collection-rescan-amarok" ), i18n( "Rescan \
                Collection" ), this );
-    connect( m_rescan, SIGNAL( clicked() ), CollectionManager::instance(), SLOT( \
startFullScan() ) ); +    KPushButton *rescan = new KPushButton( KIcon( \
"collection-rescan-amarok" ), i18n( "Rescan Collection" ), this ); +    connect( \
rescan, SIGNAL( clicked() ), CollectionManager::instance(), SLOT( startFullScan() ) \
);  
     KPushButton *import = new KPushButton( KIcon( "tools-wizard" ), i18n( "Import \
                Collection" ), this );
     connect( import, SIGNAL( clicked() ), The::mainWindow(), SLOT( \
                importCollection() ) );
--- trunk/extragear/multimedia/amarok/src/dialogs/CollectionSetup.h #876333:876334
@@ -26,7 +26,6 @@
 
 #include "Debug.h"
 
-class KPushButton;
 class QTreeView;
 
 namespace CollectionFolder { class Model; }
@@ -58,7 +57,6 @@
         QTreeView *m_view;
         CollectionFolder::Model *m_model;
         QStringList m_dirs;
-        KPushButton *m_rescan;
         QCheckBox *m_recursive;
         QCheckBox *m_monitor;
 };


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

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