summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Fischer <[email protected]>2014-11-22 19:04:38 +0100
committerAndi Fischer <[email protected]>2014-11-22 19:04:38 +0100
commit53a2deb3b0d6fd18d699d9935ca7bb72b6a1f33e (patch)
tree92b535607a71bc25046854dbf51515b646cff54a
parent6f215494a4c8aa59d780ecf7e1eada9e2b47bc7d (diff)
Add missing button box.
-rw-r--r--umbrello/dialogs/exportallviewsdialog.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/umbrello/dialogs/exportallviewsdialog.cpp b/umbrello/dialogs/exportallviewsdialog.cpp
index 1e5d5fc..ff3c01e 100644
--- a/umbrello/dialogs/exportallviewsdialog.cpp
+++ b/umbrello/dialogs/exportallviewsdialog.cpp
@@ -11,12 +11,15 @@
// own header
#include "exportallviewsdialog.h"
+// application specific includes
+#include "umlviewimageexportermodel.h"
+
// kde include files
#include <KComboBox>
#include <KLocalizedString>
-// application specific includes
-#include "umlviewimageexportermodel.h"
+// qt include files
+#include <QDialogButtonBox>
/**
* Constructor for UMLViewImageExporterModel.
@@ -54,6 +57,12 @@ ExportAllViewsDialog::ExportAllViewsDialog(QWidget* parent, const char* name)
languageChange();
m_kURL->setMode(KFile::Directory | KFile::ExistingOnly);
+
+ QDialogButtonBox* dlgButtonBox = new QDialogButtonBox(QDialogButtonBox::Ok |
+ QDialogButtonBox::Cancel);
+ connect(dlgButtonBox, SIGNAL(accepted()), this, SLOT(accept()));
+ connect(dlgButtonBox, SIGNAL(rejected()), this, SLOT(reject()));
+ layout()->addWidget(dlgButtonBox);
}
/**