From 66ee9bc240956cc634502f41ffc9b2ba889cee13 Mon Sep 17 00:00:00 2001 From: Michal Kubecek Date: Tue, 14 Apr 2015 15:12:01 +0200 Subject: Qt4 port step 9: replace getWFlags() / setWFlags() Use windowFlags() and setWindowFlags() instead. --- src/gui/messageform.ui.h | 2 +- src/gui/sendfileform.ui.h | 2 +- 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; } -- cgit v1.2.3