some fixes which was introduced with the latest patches

This commit is contained in:
arcan1s
2014-10-02 06:13:10 +04:00
parent 03af5f0e49
commit 4387bb1e76
2 changed files with 1 additions and 6 deletions

View File

@ -202,10 +202,7 @@ void AwesomeWidget::init()
setLayout(mainLayout);
textLabel = new CustomLabel(this, debug);
QGraphicsProxyWidget *pw = new QGraphicsProxyWidget(this);
pw->setAttribute(Qt::WA_TranslucentBackground, true);
pw->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
textLabel->setAttribute(Qt::WA_TranslucentBackground, true);
textLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
pw->setWidget(textLabel);
mainLayout->addItem(pw, 0, 0);