summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/embedded/flickable/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/embedded/flickable/main.cpp b/examples/embedded/flickable/main.cpp
index 139baa6ba7..cb3920d428 100644
--- a/examples/embedded/flickable/main.cpp
+++ b/examples/embedded/flickable/main.cpp
@@ -101,8 +101,8 @@ public:
m_colorNames << (str + " " + c);
QStringList duet = c.split(' ');
- m_firstColor << duet[0];
- m_secondColor << duet[1];
+ m_firstColor << QColor::fromString(duet[0]);
+ m_secondColor << QColor::fromString(duet[1]);
}
setAttribute(Qt::WA_OpaquePaintEvent, true);