Mercurial > trustbridge
diff ui/administratorwindow.h @ 1316:ff9cd05e861e
(issue166) Fix certificiate removal
The index that should be removed came from the filter proxy model
and did not map to the real index. This was broken.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 13 Oct 2014 17:23:35 +0200 |
parents | 2a1aa9df8f11 |
children | d009da9cfa10 |
line wrap: on
line diff
--- a/ui/administratorwindow.h Mon Oct 13 16:19:28 2014 +0200 +++ b/ui/administratorwindow.h Mon Oct 13 17:23:35 2014 +0200 @@ -24,6 +24,7 @@ class QMenu; class QAction; +class QSortFilterProxyModel; /** @brief Main Window of the Administrator application * @@ -116,6 +117,7 @@ QTableView *certificateView; CertificateList mCertList; CertificateTabelModel *certificateModel; + QSortFilterProxyModel *mFilterModel; QPushButton *saveButton; QPushButton *loadButton; QPushButton *addButton;