[rkward-cvs] SF.net SVN: rkward-code:[4511] trunk/rkward/rkward/misc/multistringselector .cpp

tfry at users.sf.net tfry at users.sf.net
Sun Jan 27 17:39:47 UTC 2013


Revision: 4511
          http://sourceforge.net/p/rkward/code/4511
Author:   tfry
Date:     2013-01-27 17:39:47 +0000 (Sun, 27 Jan 2013)
Log Message:
-----------
Small fix.

Modified Paths:
--------------
    trunk/rkward/rkward/misc/multistringselector.cpp

Modified: trunk/rkward/rkward/misc/multistringselector.cpp
===================================================================
--- trunk/rkward/rkward/misc/multistringselector.cpp	2013-01-27 17:17:47 UTC (rev 4510)
+++ trunk/rkward/rkward/misc/multistringselector.cpp	2013-01-27 17:39:47 UTC (rev 4511)
@@ -141,8 +141,7 @@
 		disconnect (tree_view->selectionModel (), SIGNAL (currentChanged(QModelIndex,QModelIndex)), this, SLOT (updateButtons()));
 	}
 	if (tree_view->model ()) {
-		disconnect (tree_view->model (), 0, this, 0);
-		anyModelDataChange ();
+		disconnect (tree_view->model (), 0, this, SLOT (anyModelDataChange()));
 	}
 	tree_view->setModel (model);
 	connect (tree_view->selectionModel (), SIGNAL (currentChanged(QModelIndex,QModelIndex)), this, SLOT (updateButtons()));





More information about the rkward-tracker mailing list