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

List:       kde-commits
Subject:    =?utf-8?q?=5Bveritas=5D_internal=3A_Correctly_restore_checked_an?=
From:       Miha Čančula <miha.cancula () gmail ! com>
Date:       2011-02-28 22:22:47
Message-ID: 20110228222247.628BFA60CB () git ! kde ! org
[Download RAW message or body]

Git commit 7d75527f823259d63b933150c4fd05c0f0497e7b by Miha Čančula.
Committed on 28/02/2011 at 23:22.
Pushed by mihac into branch 'master'.

Correctly restore checked and unchecked tests after a reload.

M  +1    -1    internal/selectionstore.cpp     

http://commits.kde.org/scratch/mihac/veritas/7d75527f823259d63b933150c4fd05c0f0497e7b

diff --git a/internal/selectionstore.cpp b/internal/selectionstore.cpp
index fd321f4..cb5870a 100644
--- a/internal/selectionstore.cpp
+++ b/internal/selectionstore.cpp
@@ -63,7 +63,7 @@ void SelectionStore::saveState(Test* test)
       // We only have to store the state for the leafs
       return;
     }
-    if (!test->internal()->checkState() == Qt::Unchecked) {
+    if (test->internal()->checkState() == Qt::Unchecked) {
         m_deselected << serialize(test);
     }
 }


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

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