diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 23:57:47 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 23:57:47 -0600 |
| commit | 6ec5cc8d82b29c330def669cf20534cadd2cf29e (patch) | |
| tree | 7e66b929b5455837f22ea54ed91fc9af6f64f7bf /chalk/core | |
| parent | 68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2 (diff) | |
| download | koffice-6ec5cc8d82b29c330def669cf20534cadd2cf29e.tar.gz koffice-6ec5cc8d82b29c330def669cf20534cadd2cf29e.zip | |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'chalk/core')
| -rw-r--r-- | chalk/core/kis_imagepipe_brush.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/core/kis_imagepipe_brush.cc b/chalk/core/kis_imagepipe_brush.cc index e7c61e650..f93899974 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: |
