Fix a glitch in IV sharing on Windows.
This commit is contained in:
parent
461aebd7f3
commit
2e7323d484
|
@ -793,6 +793,7 @@ void Controller::showShareMenu() {
|
|||
: nullptr);
|
||||
const auto margins = QMargins(0, st::windowTitleHeight, 0, 0);
|
||||
if (!_shareHidesContent) {
|
||||
_shareWrap->setGeometry(_window->geometry().marginsRemoved(margins));
|
||||
_shareWrap->setWindowFlag(Qt::FramelessWindowHint);
|
||||
_shareWrap->setAttribute(Qt::WA_TranslucentBackground);
|
||||
_shareWrap->setAttribute(Qt::WA_NoSystemBackground);
|
||||
|
|
Loading…
Reference in New Issue