diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 09:40:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 09:40:37 +0200 |
commit | 4f3c5db4dfacfad32ef207193a21c96e1d39da85 (patch) | |
tree | 4948dce8984f1d56055f192c1d22e56ea6155fc7 /vcl/qt5 | |
parent | 8332e9791c786c89737389bee296260b05b71040 (diff) |
loplugin:unnecessaryparen in qt5 plugin
Change-Id: I07c5cee0b7fa7d05370c8dc61cae0e6a2aead348
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/Qt5Frame.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx index fc64e7ffe7d4..c8f8609ea14e 100644 --- a/vcl/qt5/Qt5Frame.cxx +++ b/vcl/qt5/Qt5Frame.cxx @@ -84,7 +84,7 @@ Qt5Frame::Qt5Frame(Qt5Frame* pParent, SalFrameStyleFlags nStyle, bool bUseCairo) aWinFlags |= Qt::Dialog; else if (nStyle & SalFrameStyleFlags::TOOLWINDOW) aWinFlags |= Qt::Tool; - else if ((nStyle & SalFrameStyleFlags::OWNERDRAWDECORATION)) + else if (nStyle & SalFrameStyleFlags::OWNERDRAWDECORATION) aWinFlags |= Qt::Window | Qt::FramelessWindowHint | Qt::WindowDoesNotAcceptFocus; else aWinFlags |= Qt::Window; |