summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/kivio_layer_panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/ui/kivio_layer_panel.cpp')
-rw-r--r--kivio/kiviopart/ui/kivio_layer_panel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/ui/kivio_layer_panel.cpp b/kivio/kiviopart/ui/kivio_layer_panel.cpp
index 92161ba3..2e92bd00 100644
--- a/kivio/kiviopart/ui/kivio_layer_panel.cpp
+++ b/kivio/kiviopart/ui/kivio_layer_panel.cpp
@@ -181,7 +181,7 @@ void KivioLayerPanel::upItem()
KivioPage* page = m_pView->activePage();
KivioLayer* layer = item->data;
- int pos = page->layers()->tqfind(layer);
+ int pos = page->layers()->find(layer);
// It's already the top layer... return
if(pos == (static_cast<int>(page->layers()->count()) - 1))
return;
@@ -217,7 +217,7 @@ void KivioLayerPanel::downItem()
KivioPage* page = m_pView->activePage();
KivioLayer* layer = item->data;
- int pos = page->layers()->tqfind(layer);
+ int pos = page->layers()->find(layer);
// It's already the bottom layer... return
if (pos == 0)
return;