summaryrefslogtreecommitdiffstats
path: root/examples/embedded/flickable/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/embedded/flickable/main.cpp')
-rw-r--r--examples/embedded/flickable/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/embedded/flickable/main.cpp b/examples/embedded/flickable/main.cpp
index fd30d15e49..139baa6ba7 100644
--- a/examples/embedded/flickable/main.cpp
+++ b/examples/embedded/flickable/main.cpp
@@ -72,7 +72,7 @@ static QStringList colorPairs(int max)
// randomize it
colors.clear();
while (combinedColors.count()) {
- int i = QRandomGenerator::global()->bounded(int(combinedColors.count()));
+ int i = QRandomGenerator::global()->bounded(combinedColors.count());
colors << combinedColors[i];
combinedColors.removeAt(i);
if (colors.count() == max)