summaryrefslogtreecommitdiffstats
path: root/src/hardware_batteryCollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware_batteryCollection.cpp')
-rw-r--r--src/hardware_batteryCollection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardware_batteryCollection.cpp b/src/hardware_batteryCollection.cpp
index 0d3fe63..523ca6f 100644
--- a/src/hardware_batteryCollection.cpp
+++ b/src/hardware_batteryCollection.cpp
@@ -204,7 +204,7 @@ bool BatteryCollection::refreshInfo(TQPtrList<Battery> BatteryList, bool force_l
//! check if the given udi is already handled by this collection
bool BatteryCollection::isBatteryHandled( TQString udi ) {
- return udis.tqcontains( udi );
+ return udis.contains( udi );
}
// ---> write private members SECTION : START <----