changeset 362:857ae1ffdd6f

Open the new dialog from the main menu.
author Raimund Renkert <rrenkert@intevation.de>
date Sat, 12 Apr 2014 17:20:30 +0200
parents b67dd46cd4a9
children d10d9bc2e84f 9491782a8f5a
files ui/CMakeLists.txt ui/administratorwindow.cpp
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ui/CMakeLists.txt	Sat Apr 12 17:19:38 2014 +0200
+++ b/ui/CMakeLists.txt	Sat Apr 12 17:20:30 2014 +0200
@@ -32,6 +32,7 @@
     ${CMAKE_CURRENT_SOURCE_DIR}/administratorwindow.cpp
     ${CMAKE_CURRENT_SOURCE_DIR}/certificatetablemodel.cpp
     ${CMAKE_CURRENT_SOURCE_DIR}/certificatetabledelegate.cpp
+    ${CMAKE_CURRENT_SOURCE_DIR}/createinstallerdialog.cpp
     ${CERTIFICATELIST_SOURCES}
 )
 
--- a/ui/administratorwindow.cpp	Sat Apr 12 17:19:38 2014 +0200
+++ b/ui/administratorwindow.cpp	Sat Apr 12 17:20:30 2014 +0200
@@ -16,6 +16,7 @@
 #include <QFileDialog>
 
 #include "certificatetabledelegate.h"
+#include "createinstallerdialog.h"
 
 AdministratorWindow::AdministratorWindow() {
     createActions();
@@ -169,5 +170,7 @@
 void AdministratorWindow::createInstaller()
 {
     qDebug() << "create Installer";
+    CreateInstallerDialog *dialog = new CreateInstallerDialog(this);
+    dialog->show();
 }
 

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