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

List:       kde-commits
Subject:    branches/kdepim/enterprise4/kdepim/libkleo/ui
From:       Marc Mutz <mutz () kde ! org>
Date:       2008-05-24 9:05:29
Message-ID: 1211619929.816258.8248.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 811961 by mutz:

Emit changed() also when just deleting a server. The connection to rowInserted() is \
probably not necessary, but it's so nicely symmetric

 M  +4 -0      directoryserviceswidget.cpp  


--- branches/kdepim/enterprise4/kdepim/libkleo/ui/directoryserviceswidget.cpp \
#811960:811961 @@ -385,6 +385,10 @@
 
         connect( &model, SIGNAL(dataChanged(QModelIndex,QModelIndex)),
                  q, SIGNAL(changed()) );
+        connect( &model, SIGNAL(rowsInserted(QModelIndex,int,int)),
+                 q, SIGNAL(changed()) );
+        connect( &model, SIGNAL(rowsRemoved(QModelIndex,int,int)),
+                 q, SIGNAL(changed()) );
         connect( ui.treeView->selectionModel(), \
SIGNAL(selectionChanged(QItemSelection,QItemSelection)),  q, \
SLOT(slotSelectionChanged()) );  


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

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