summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_paintop_box.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_paintop_box.cc')
-rw-r--r--chalk/ui/kis_paintop_box.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/ui/kis_paintop_box.cc b/chalk/ui/kis_paintop_box.cc
index 9f8ac9de..ad4dbabb 100644
--- a/chalk/ui/kis_paintop_box.cc
+++ b/chalk/ui/kis_paintop_box.cc
@@ -126,7 +126,7 @@ void KisPaintopBox::colorSpaceChanged(KisColorSpace *cs)
}
}
- int index = m_displayedOps->tqfindIndex(currentPaintop());
+ int index = m_displayedOps->findIndex(currentPaintop());
if (index == -1) {
// Must change the paintop as the current one is not supported
@@ -162,7 +162,7 @@ void KisPaintopBox::slotInputDeviceChanged(const KisInputDevice & inputDevice)
paintop = (*it).second;
}
- int index = m_displayedOps->tqfindIndex(paintop);
+ int index = m_displayedOps->findIndex(paintop);
if (index == -1) {
// Must change the paintop as the current one is not supported
@@ -238,7 +238,7 @@ const KisPaintOpSettings *KisPaintopBox::paintopSettings(const KisID & paintop,
settingsArray = (*it).second;
}
- const int index = m_paintops->tqfindIndex(paintop);
+ const int index = m_paintops->findIndex(paintop);
if (index >= 0 && index < (int)settingsArray.count())
return settingsArray[index];
else