comparison ui/administratorwindow.cpp @ 394:7e0a188d6848

Load the last certificate list from data dir on startup.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 15 Apr 2014 16:43:45 +0200
parents 9731d28b95af
children a63601810211
comparison
equal deleted inserted replaced
380:1220b741cd51 394:7e0a188d6848
12 #include <QLabel> 12 #include <QLabel>
13 #include <QImage> 13 #include <QImage>
14 #include <QCheckBox> 14 #include <QCheckBox>
15 #include <QHeaderView> 15 #include <QHeaderView>
16 #include <QFileDialog> 16 #include <QFileDialog>
17 #include <QStandardPaths>
17 18
18 #include "certificatetabledelegate.h" 19 #include "certificatetabledelegate.h"
19 #include "createinstallerdialog.h" 20 #include "createinstallerdialog.h"
20 #include "createcertlistdialog.h" 21 #include "createcertlistdialog.h"
21 22
22 AdministratorWindow::AdministratorWindow() { 23 AdministratorWindow::AdministratorWindow() {
24 QString path = QStandardPaths::locate(
25 QStandardPaths::DataLocation, QString("certlist_last.txt"));
26 certList.readList(path.toLocal8Bit());
23 createActions(); 27 createActions();
24 createMenuBar(); 28 createMenuBar();
25 createContent(); 29 createContent();
30 loadCertificateTable();
26 } 31 }
27 32
28 void AdministratorWindow::createActions() 33 void AdministratorWindow::createActions()
29 { 34 {
30 } 35 }

http://wald.intevation.org/projects/trustbridge/