[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kgpg] core: make KgpgKeyList no longer inherit from QObject
From: Rolf Eike Beer <kde () opensource ! sf-tec ! de>
Date: 2014-05-31 18:12:42
Message-ID: E1Wqnlq-0000PA-SZ () scm ! kde ! org
[Download RAW message or body]
Git commit 4d7015137ac4b6493e7fbd95b49f75771fe1720b by Rolf Eike Beer.
Committed on 31/05/2014 at 18:07.
Pushed by dakon into branch 'master'.
make KgpgKeyList no longer inherit from QObject
M +3 -3 core/kgpgkey.h
http://commits.kde.org/kgpg/4d7015137ac4b6493e7fbd95b49f75771fe1720b
diff --git a/core/kgpgkey.h b/core/kgpgkey.h
index 5788aee..1e345f8 100644
--- a/core/kgpgkey.h
+++ b/core/kgpgkey.h
@@ -290,13 +290,13 @@ private:
QSharedDataPointer<KgpgKeyPrivate> d;
};
-class KgpgKeyList : public QList<KgpgKey>, public QObject
+class KgpgKeyList : public QList<KgpgKey>
{
public:
inline KgpgKeyList() { }
inline explicit KgpgKeyList(const KgpgKey &key) { append(key); }
- inline KgpgKeyList(const KgpgKeyList &other) : QList<KgpgKey>(other), QObject() { }
- inline KgpgKeyList(const QList<KgpgKey> &other) : QList<KgpgKey>(other), QObject() { }
+ inline KgpgKeyList(const KgpgKeyList &other) : QList<KgpgKey>(other) { }
+ inline KgpgKeyList(const QList<KgpgKey> &other) : QList<KgpgKey>(other) { }
inline KgpgKeyList& operator=(const KgpgKeyList &other)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic