summaryrefslogtreecommitdiffstats
path: root/src/devices/gui/register_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/gui/register_view.cpp')
-rw-r--r--src/devices/gui/register_view.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/gui/register_view.cpp b/src/devices/gui/register_view.cpp
index bf49574..c1fa3a6 100644
--- a/src/devices/gui/register_view.cpp
+++ b/src/devices/gui/register_view.cpp
@@ -102,9 +102,9 @@ TQString Register::ListViewItem::text() const
int Register::ListViewItem::compare(TQListViewItem *item, int, bool) const
{
const TypeData &data = static_cast<ListViewItem *>(item)->data();
- int i1 = list().watched().tqfindIndex(data);
+ int i1 = list().watched().findIndex(data);
Q_ASSERT( i1!=-1 );
- int i2 = list().watched().tqfindIndex(_data);
+ int i2 = list().watched().findIndex(_data);
Q_ASSERT( i2!=-1 );
return ( i1-i2 );
}