-rw-r--r-- | noncore/styles/theme/othemebase.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/styles/theme/othemebase.h b/noncore/styles/theme/othemebase.h index e691692..5519798 100644 --- a/noncore/styles/theme/othemebase.h +++ b/noncore/styles/theme/othemebase.h | |||
@@ -17,8 +17,13 @@ | |||
17 | */ | 17 | */ |
18 | #ifndef __OTHEMEBASE_H | 18 | #ifndef __OTHEMEBASE_H |
19 | #define __OTHEMEBASE_H | 19 | #define __OTHEMEBASE_H |
20 | 20 | ||
21 | /* OPIE */ | ||
22 | #include <opie2/odebug.h> | ||
23 | using namespace Opie::Core; | ||
24 | |||
25 | /* QT */ | ||
21 | #include <qdatetime.h> | 26 | #include <qdatetime.h> |
22 | #include <qtimer.h> | 27 | #include <qtimer.h> |
23 | #include <qwindowsstyle.h> | 28 | #include <qwindowsstyle.h> |
24 | #include <qpixmap.h> | 29 | #include <qpixmap.h> |
@@ -65,9 +70,9 @@ inline QPixmap* OThemePixmap::border( BorderType type ) | |||
65 | 70 | ||
66 | inline void OThemePixmap::setBorder( BorderType type, const QPixmap &p ) | 71 | inline void OThemePixmap::setBorder( BorderType type, const QPixmap &p ) |
67 | { | 72 | { |
68 | if ( b[ type ] ) { | 73 | if ( b[ type ] ) { |
69 | qWarning( "OThemePixmap: Overwriting existing border!" ); | 74 | owarn << "OThemePixmap: Overwriting existing border!" << oendl; |
70 | delete( b[ type ] ); | 75 | delete( b[ type ] ); |
71 | } | 76 | } |
72 | b[ type ] = new QPixmap( p ); | 77 | b[ type ] = new QPixmap( p ); |
73 | } | 78 | } |