summaryrefslogtreecommitdiffstats
path: root/kpilot/listItems.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/listItems.cc')
-rw-r--r--kpilot/listItems.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpilot/listItems.cc b/kpilot/listItems.cc
index 1dbc09e..2b5b98e 100644
--- a/kpilot/listItems.cc
+++ b/kpilot/listItems.cc
@@ -176,12 +176,12 @@ void PilotListViewItem::setNumericCol(int col, bool numeric)
// FUNCTIONSETUP;
if (numeric)
{
- if (!numericCols.tqcontains(col))
+ if (!numericCols.contains(col))
numericCols.append(col);
}
else
{
- if (numericCols.tqcontains(col))
+ if (numericCols.contains(col))
numericCols.remove(col);
}
}
@@ -211,7 +211,7 @@ int PilotListViewItem::compare( TQListViewItem *i, int col, bool ascending ) con
/*#ifdef DEBUG
DEBUGKPILOT<<"Item of dyn cast: "<<item<<endl;
#endif*/
- if (item && numericCols.tqcontains(col))
+ if (item && numericCols.contains(col))
{
/*#ifdef DEBUG
DEBUGKPILOT<<"Comparing: col "<<col<<", Ascending: "<<ascending<<endl;