summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope/bitmappool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/nexscope/bitmappool.cpp')
-rw-r--r--noatun-plugins/nexscope/bitmappool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noatun-plugins/nexscope/bitmappool.cpp b/noatun-plugins/nexscope/bitmappool.cpp
index 0a0ad78..45f35d0 100644
--- a/noatun-plugins/nexscope/bitmappool.cpp
+++ b/noatun-plugins/nexscope/bitmappool.cpp
@@ -22,7 +22,7 @@ Bitmap *BitmapPool::get(bool clear)
{
mMutex.lock();
BitmapPool::PoolItem *p=0;
- for (QPtrListIterator<BitmapPool::PoolItem> i(mBitmaps); i.current(); ++i)
+ for (TQPtrListIterator<BitmapPool::PoolItem> i(mBitmaps); i.current(); ++i)
{
if (!(*i)->used)
p=*i;
@@ -44,7 +44,7 @@ Bitmap *BitmapPool::get(bool clear)
void BitmapPool::release(Bitmap *bitmap)
{
mMutex.lock();
- for (QPtrListIterator<BitmapPool::PoolItem> i(mBitmaps); i.current(); ++i)
+ for (TQPtrListIterator<BitmapPool::PoolItem> i(mBitmaps); i.current(); ++i)
{
if (&((*i)->bitmap)==bitmap)
(*i)->used=false;