Commit 36e4b72c authored by Wolthera van Hövell's avatar Wolthera van Hövell 🛍

Attempt to fix flickering... this doesn't fix it :/

Makes the code simpler though...
parent 0442f67e
......@@ -115,8 +115,8 @@ void KisVisualColorSelector::slotsetColorSpace(const KoColorSpace *cs)
block->setGeometry(geom);
block->setTriangle();
//There's a really weird bug where touching the geometry makes the widget hide itself??? This didn't happen with layouts so, I am confused.//
block->show();
bar->show();
//block->show();
//bar->show();
qDebug()<<bar->geometry();
qDebug()<<bar->pos();
qDebug()<<block->geometry();
......@@ -232,6 +232,7 @@ KisVisualColorSelectorShape::KisVisualColorSelectorShape(QWidget *parent,
this->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
m_d->updateTimer = new KisSignalCompressor(100 /* ms */, KisSignalCompressor::POSTPONE, this);
setDisplayRenderer(displayRenderer);
show();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment