mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-12-01 22:58:49 +03:00
parent
8d867f418d
commit
59e4148a7c
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue