Mercurial > trustbridge
diff ui/certificatetablemodel.h @ 342:fba80767fd7a
Fixed member variables in certificate table model.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 10 Apr 2014 10:05:32 +0200 |
parents | 36be67070dcb |
children | e6aa82466420 |
line wrap: on
line diff
--- a/ui/certificatetablemodel.h Thu Apr 10 09:56:51 2014 +0200 +++ b/ui/certificatetablemodel.h Thu Apr 10 10:05:32 2014 +0200 @@ -17,7 +17,7 @@ public: CertificateTabelModel(QObject *parent = 0); - void addCertificate(Certificate *certificate); + void addCertificate(const Certificate &certificate); int rowCount(const QModelIndex &parent = QModelIndex()) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; @@ -26,8 +26,8 @@ int role = Qt::DisplayRole) const; private: - QList<Certificate> *certificates; - QList<QString> *header; + QList<Certificate> certificates; + QList<QString> header; }; #endif