summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2023-01-30 15:01:25 +0800
committerMitch Curtis <mitch.curtis@qt.io>2023-02-13 14:19:32 +0800
commit528de1de713d3b902734c36a4931bf8172311d16 (patch)
tree3a6118372a913e2e3fd862b841c983fa5e3f7af2 /examples
parent62965b67a4b2396abf665645d9c27d5976d95c6e (diff)
downloadqtdeclarative-528de1de713d3b902734c36a4931bf8172311d16.tar.gz
Remove unused code in attachedstyleproperties example
Amends 49b9f1f1e85ce9aee960b1384fb542daacd8b7a7. Pick-to: 6.5 Change-Id: Ia0ab5ab01397c2a60ee119823936d68383ccc8b6 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples')
-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);
}