The first patch in an exciting series of Tru64 fixes by Thomas Leitner.

svn path=/trunk/kdenetwork/kmail/; revision=61296
wilder-work
Don Sanders 26 years ago
parent 35175af85e
commit e4f5cee0b8
  1. 6
      kbusyptr.cpp
  2. 1
      kbusyptr.h

@ -19,7 +19,6 @@ KBusyPtr :: KBusyPtr ()
numCursors = 0;
frameDelay = 500;
cursorList = NULL;
bitmapList = NULL;
//animated = TRUE;
animated = FALSE;
@ -33,9 +32,7 @@ KBusyPtr :: KBusyPtr ()
KBusyPtr :: ~KBusyPtr()
{
if (cursorList) delete[] cursorList;
if (bitmapList) delete[] bitmapList;
cursorList = NULL;
bitmapList = NULL;
}
@ -140,9 +137,6 @@ void KBusyPtr :: loadCursor (const char* cursorName,const char* maskName)
numY = map.height() >> 4;
numCursors = numX * numY;
if (bitmapList) delete[] bitmapList;
QSize size(16,16);
bitmapList = new QBitmap[numCursors](size);
if (cursorList) delete[] cursorList;
cursorList = new QCursor[numCursors];

@ -51,7 +51,6 @@ protected:
int currentCursor;
bool animated;
QCursor* cursorList;
QBitmap* bitmapList;
};
#endif /*kbusyptr_h_*/

Loading…
Cancel
Save