aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/attachedstyleproperties/MyStyle/mystyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols/attachedstyleproperties/MyStyle/mystyle.cpp')
-rw-r--r--examples/quickcontrols/attachedstyleproperties/MyStyle/mystyle.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/quickcontrols/attachedstyleproperties/MyStyle/mystyle.cpp b/examples/quickcontrols/attachedstyleproperties/MyStyle/mystyle.cpp
index 40f7af702e..feadb138f7 100644
--- a/examples/quickcontrols/attachedstyleproperties/MyStyle/mystyle.cpp
+++ b/examples/quickcontrols/attachedstyleproperties/MyStyle/mystyle.cpp
@@ -108,8 +108,6 @@ QColor MyStyle::toolBarColor() const
QColor MyStyle::popupColor() const
{
-// const QColor winColor = windowColor();
-// return m_theme == Light ? winColor.darker(120) : winColor.lighter(120);
return windowColor().lighter(120);
}