summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2015-04-14 15:12:01 +0200
committerMichal Kubecek <mkubecek@suse.cz>2015-04-15 10:54:37 +0200
commit66ee9bc240956cc634502f41ffc9b2ba889cee13 (patch)
tree9697ab7c72fa65efc07a9c8b35a803e844f8c244 /src/gui
parentfb428def5f94aea0d8b206599a549b4f0f22799e (diff)
downloadtwinkle-66ee9bc240956cc634502f41ffc9b2ba889cee13.tar
twinkle-66ee9bc240956cc634502f41ffc9b2ba889cee13.tar.gz
twinkle-66ee9bc240956cc634502f41ffc9b2ba889cee13.tar.lz
twinkle-66ee9bc240956cc634502f41ffc9b2ba889cee13.tar.xz
twinkle-66ee9bc240956cc634502f41ffc9b2ba889cee13.zip
Qt4 port step 9: replace getWFlags() / setWFlags()
Use windowFlags() and setWindowFlags() instead.
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;
}