[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [krita/krita-testing-wolthera] libs/ui/widgets: Attempt to fix flickering... this doesn't fix it :/
From: Wolthera van Hovell tot Westerflier <griffinvalley () gmail ! com>
Date: 2016-08-19 19:10:49
Message-ID: E1bapBp-0004qF-Hh () code ! kde ! org
[Download RAW message or body]
Git commit 36e4b72ceca1f6d7c72372b218decb463cdfd4df by Wolthera van Hovell tot \
Westerflier. Committed on 19/08/2016 at 10:18.
Pushed by woltherav into branch 'krita-testing-wolthera'.
Attempt to fix flickering... this doesn't fix it :/
Makes the code simpler though...
M +3 -2 libs/ui/widgets/kis_visual_color_selector.cpp
http://commits.kde.org/krita/36e4b72ceca1f6d7c72372b218decb463cdfd4df
diff --git a/libs/ui/widgets/kis_visual_color_selector.cpp \
b/libs/ui/widgets/kis_visual_color_selector.cpp index 58bafeb..e80a44e 100644
--- a/libs/ui/widgets/kis_visual_color_selector.cpp
+++ b/libs/ui/widgets/kis_visual_color_selector.cpp
@@ -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();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic