Fix transparency issue on custom dialogs

fixes #87
This commit is contained in:
Konstantinos Sideris 2018-02-17 14:04:46 +02:00
parent 8d867f418d
commit 59e4148a7c

View file

@ -26,8 +26,6 @@ OverlayModal::OverlayModal(QWidget *parent, QWidget *content)
, duration_{500} , duration_{500}
, color_{QColor(55, 55, 55)} , color_{QColor(55, 55, 55)}
{ {
setAttribute(Qt::WA_TranslucentBackground);
auto layout = new QVBoxLayout(); auto layout = new QVBoxLayout();
layout->addWidget(content); layout->addWidget(content);
layout->setAlignment(Qt::AlignCenter); layout->setAlignment(Qt::AlignCenter);