Windows Vista/7 workaround for PictureDialog title bar draw?
This commit is contained in:
parent
c6d84a7541
commit
9bc7266b7c
1 changed files with 1 additions and 1 deletions
|
@ -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; }");
|
||||
|
|
Loading…
Reference in a new issue