┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/versioncontrol/versioncontrolobserver.h
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2014-01-31 20:56:57 +0100
committerEmmanuel Pescosta <[email protected]>2014-01-31 20:56:57 +0100
commit4d9193b85b9dacdc4cc46965596c1fc456fc273e (patch)
treeaacf6f9c0b4949f9c7b0aaea4f79bd334e435166 /src/views/versioncontrol/versioncontrolobserver.h
parent2946cc30fc8aaf53a0ae80277d2e2ce278b27811 (diff)
Don't store the index of the file item in the VersionControlObserver::ItemState, get the index of the file item on demand instead.
Fixes some "old"-index problems, esp. when you copy/move around files while the version control thread is still running. FIXED-IN: 4.13 REVIEW: 115410
Diffstat (limited to 'src/views/versioncontrol/versioncontrolobserver.h')
-rw-r--r--src/views/versioncontrol/versioncontrolobserver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/views/versioncontrol/versioncontrolobserver.h b/src/views/versioncontrol/versioncontrolobserver.h
index 980374af9..d12d2cfe0 100644
--- a/src/views/versioncontrol/versioncontrolobserver.h
+++ b/src/views/versioncontrol/versioncontrolobserver.h
@@ -102,7 +102,6 @@ private slots:
private:
struct ItemState
{
- int index;
KFileItem item;
KVersionControlPlugin2::ItemVersion version;
};