[SCM] ktp-kded-integration-module packaging branch, master, updated. debian/15.12.1-2-382-gbd961c2
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:15:55 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-kded-module.git;a=commitdiff;h=afb0ead
The following commit has been merged in the master branch:
commit afb0ead6122bbba2c1c684d0934b22e6de82d146
Author: Martin Klapetek <mklapetek at kde.org>
Date: Fri Feb 6 16:58:52 2015 +0100
Make the groupId UNIQUE
Otherwise bad things can happen
---
contact-cache.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contact-cache.cpp b/contact-cache.cpp
index 79f70d5..93df1e1 100644
--- a/contact-cache.cpp
+++ b/contact-cache.cpp
@@ -89,7 +89,7 @@ ContactCache::ContactCache(QObject *parent):
}
preparationsQuery.exec(createTableQuery);
- preparationsQuery.exec(QLatin1String("CREATE TABLE groups (groupId INTEGER, groupName VARCHAR);"));
+ preparationsQuery.exec(QLatin1String("CREATE TABLE groups (groupId INTEGER UNIQUE, groupName VARCHAR);"));
preparationsQuery.exec(QLatin1String("CREATE UNIQUE INDEX idIndex ON contacts (accountId, contactId);"));
}
--
ktp-kded-integration-module packaging
More information about the pkg-kde-commits
mailing list