-rw-r--r-- | library/resource.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/library/resource.h b/library/resource.h index 4a3502a..9e4cb54 100644 --- a/library/resource.h +++ b/library/resource.h @@ -44,3 +44,7 @@ public: +#ifdef OPIE_INTERNAL_LIBRARY_BUILD extern bool qpe_fast_findPixmap; +#endif + + // Inline for compatibility with SHARP ROMs @@ -48,2 +52,4 @@ inline QIconSet Resource::loadIconSet( const QString &pix ) { + +#ifdef OPIE_INTERNAL_LIBRARY_BUILD /* @@ -53,2 +59,3 @@ inline QIconSet Resource::loadIconSet( const QString &pix ) qpe_fast_findPixmap = true; +#endif @@ -60,3 +67,6 @@ inline QIconSet Resource::loadIconSet( const QString &pix ) +#ifdef OPIE_INTERNAL_LIBRARY_BUILD qpe_fast_findPixmap = oldMode; +#endif + return is; |