mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Remove debug widget in the info section.
This commit is contained in:
parent
188edce258
commit
033cb2790c
1 changed files with 0 additions and 11 deletions
|
@ -155,17 +155,6 @@ Ui::RpWidget *ContentWidget::doSetInnerWidget(
|
|||
object_ptr<RpWidget> inner) {
|
||||
using namespace rpl::mappers;
|
||||
|
||||
const auto tmp = new Ui::RpWidget(this);
|
||||
tmp->raise();
|
||||
tmp->show();
|
||||
tmp->setAttribute(Qt::WA_TransparentForMouseEvents);
|
||||
tmp->paintRequest() | rpl::start_with_next([=] {
|
||||
QPainter(tmp).fillRect(tmp->rect(), QColor(255, 0, 0, 64));
|
||||
}, tmp->lifetime());
|
||||
_scroll->geometryValue() | rpl::start_with_next([=] {
|
||||
tmp->setGeometry(_scroll->geometry());
|
||||
}, tmp->lifetime());
|
||||
|
||||
_innerWrap = _scroll->setOwnedWidget(
|
||||
object_ptr<Ui::PaddingWrap<Ui::RpWidget>>(
|
||||
this,
|
||||
|
|
Loading…
Add table
Reference in a new issue