summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_imagepipe_brush.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_imagepipe_brush.cc')
-rw-r--r--chalk/core/kis_imagepipe_brush.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/core/kis_imagepipe_brush.cc b/chalk/core/kis_imagepipe_brush.cc
index e7c61e65..f9389997 100644
--- a/chalk/core/kis_imagepipe_brush.cc
+++ b/chalk/core/kis_imagepipe_brush.cc
@@ -391,7 +391,7 @@ void KisImagePipeBrush::selectNextBrush(const KisPaintInformation& info) const {
case KisPipeBrushParasite::Incremental:
index = (index + 1) % m_parasite.rank[i]; break;
case KisPipeBrushParasite::Random:
- index = int(float(m_parasite.rank[i])*KApplication::random() / RAND_MAX); break;
+ index = int(float(m_parasite.rank[i])*TDEApplication::random() / RAND_MAX); break;
case KisPipeBrushParasite::Pressure:
index = static_cast<int>(info.pressure * (m_parasite.rank[i] - 1) + 0.5); break;
case KisPipeBrushParasite::Angular: