Windows Vista/7 workaround for PictureDialog title bar draw?

This commit is contained in:
Rafael 2016-11-01 14:54:07 +01:00
parent c6d84a7541
commit 9bc7266b7c

View file

@ -110,7 +110,7 @@ void PictureDialog::addPreviousNextButtons()
backAction->setToolTip("");
nextAction->setToolTip("");
QtWin::extendFrameIntoClientArea(this, 0, uiToolbar->height(), 0, 0);
QtWin::extendFrameIntoClientArea(this, 0, uiToolbar->height() - 5, 0, 0);
setAttribute(Qt::WA_TranslucentBackground, true);
setAttribute(Qt::WA_NoSystemBackground, false);
setStyleSheet("PictureDialog { background: transparent; }");