summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <kde@opensource.sf-tec.de>2016-09-07 21:17:31 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2016-09-07 21:17:31 (GMT)
commitabf0d45b16f6c98a2b068ae3749b3629bab33b62 (patch)
treee4337933ab8f9aeb6a9bc8019804f0ea78bc8708
parentacfab9eab78c9c7d6e92736bc0d45c58de556d38 (diff)
do not use obsolete Qt::WFlags
-rw-r--r--editor/kgpgeditor.cpp2
-rw-r--r--editor/kgpgeditor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/kgpgeditor.cpp b/editor/kgpgeditor.cpp
index 9727986..180bd44 100644
--- a/editor/kgpgeditor.cpp
+++ b/editor/kgpgeditor.cpp
@@ -74,7 +74,7 @@ KgpgView::KgpgView(QWidget *parent, KgpgTextEdit *editor, KToolBar *toolbar)
setAcceptDrops(true);
}
-KgpgEditor::KgpgEditor(KeysManager *parent, KGpgItemModel *model, Qt::WFlags f)
+KgpgEditor::KgpgEditor(KeysManager *parent, KGpgItemModel *model, Qt::WindowFlags f)
: KXmlGuiWindow(0, f),
m_editor(new KgpgTextEdit(this, model, parent)),
m_recentfiles(Q_NULLPTR),
diff --git a/editor/kgpgeditor.h b/editor/kgpgeditor.h
index bdb5a47..2495d45 100644
--- a/editor/kgpgeditor.h
+++ b/editor/kgpgeditor.h
@@ -39,7 +39,7 @@ class KgpgEditor : public KXmlGuiWindow
KgpgEditor() Q_DECL_EQ_DELETE;
public:
- KgpgEditor(KeysManager *parent, KGpgItemModel *model, Qt::WFlags f);
+ KgpgEditor(KeysManager *parent, KGpgItemModel *model, Qt::WindowFlags f);
~KgpgEditor();
void openEncryptedDocumentFile(const QUrl &url);