removing more useless debugging code. also adding code for checking pixmaps.

This commit is contained in:
zack%kde.org 2006-01-11 21:28:52 +00:00
Родитель 819eb1d245
Коммит 51080f1c38
3 изменённых файлов: 0 добавлений и 26 удалений

Просмотреть файл

@ -64,11 +64,6 @@ private:
nsCOMPtr<nsIScreen> *screens; nsCOMPtr<nsIScreen> *screens;
QDesktopWidget *desktop; QDesktopWidget *desktop;
int nScreens; int nScreens;
#ifdef DEBUG
PRUint32 mID;
#endif
}; };
#endif // nsScreenManagerQt_h___ #endif // nsScreenManagerQt_h___

Просмотреть файл

@ -44,21 +44,9 @@
#include "qtlog.h" #include "qtlog.h"
#ifdef DEBUG
PRUint32 gScreenCount = 0;
PRUint32 gScreenID = 0;
#endif
nsScreenQt::nsScreenQt(int aScreen) nsScreenQt::nsScreenQt(int aScreen)
{ {
screen = aScreen; screen = aScreen;
#ifdef DEBUG
gScreenCount++;
mID = gScreenID++;
PR_LOG(gQtLogModule, QT_BASIC,
("nsScreenQt CTOR (%p) ID: %d, Count: %d\n", this, mID, gScreenCount));
#endif
// nothing else to do. I guess we could cache a bunch of information // nothing else to do. I guess we could cache a bunch of information
// here, but we want to ask the device at runtime in case anything // here, but we want to ask the device at runtime in case anything
// has changed. // has changed.
@ -66,11 +54,6 @@ nsScreenQt::nsScreenQt(int aScreen)
nsScreenQt::~nsScreenQt() nsScreenQt::~nsScreenQt()
{ {
#ifdef DEBUG
gScreenCount--;
PR_LOG(gQtLogModule, QT_BASIC,
("nsScreenQt DTOR (%p) ID: %d, Count: %d\n", this, mID, gScreenCount));
#endif
// nothing to see here. // nothing to see here.
} }

Просмотреть файл

@ -56,10 +56,6 @@ public:
private: private:
int screen; int screen;
#ifdef DEBUG
PRUint32 mID;
#endif
}; };
#endif // nsScreenQt_h___ #endif // nsScreenQt_h___