summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/messageform.ui.h2
-rw-r--r--src/gui/sendfileform.ui.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/messageform.ui.h b/src/gui/messageform.ui.h
index dba7848..8d0b016 100644
--- a/src/gui/messageform.ui.h
+++ b/src/gui/messageform.ui.h
@@ -57,7 +57,7 @@ using namespace utils;
void MessageForm::init()
{
- setWFlags(getWFlags() | Qt::WDestructiveClose);
+ setWindowFlags(windowFlags() | Qt::WDestructiveClose);
_getAddressForm = 0;
_remotePartyComplete = false;
diff --git a/src/gui/sendfileform.ui.h b/src/gui/sendfileform.ui.h
index 46c9896..aff6273 100644
--- a/src/gui/sendfileform.ui.h
+++ b/src/gui/sendfileform.ui.h
@@ -34,7 +34,7 @@
void SendFileForm::init()
{
- setWFlags(getWFlags() | Qt::WDestructiveClose);
+ setWindowFlags(windowFlags() | Qt::WDestructiveClose);
_chooseFileDialog = NULL;
}