summaryrefslogtreecommitdiff
path: root/library
Unidiff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/library.pro2
-rw-r--r--library/resource.h10
2 files changed, 12 insertions, 0 deletions
diff --git a/library/library.pro b/library/library.pro
index 95c18a2..7143454 100644
--- a/library/library.pro
+++ b/library/library.pro
@@ -125,2 +125,4 @@ HEADERS += quuid.h qcom.h qlibrary.h qlibrary_p.h
125SOURCES += quuid.cpp qlibrary.cpp qlibrary_unix.cpp 125SOURCES += quuid.cpp qlibrary.cpp qlibrary_unix.cpp
126
127DEFINES += OPIE_INTERNAL_LIBRARY_BUILD
126INCLUDEPATH += $(OPIEDIR)/include backend 128INCLUDEPATH += $(OPIEDIR)/include backend
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:
44 44
45#ifdef OPIE_INTERNAL_LIBRARY_BUILD
45extern bool qpe_fast_findPixmap; 46extern bool qpe_fast_findPixmap;
47#endif
48
49
46// Inline for compatibility with SHARP ROMs 50// Inline for compatibility with SHARP ROMs
@@ -48,2 +52,4 @@ inline QIconSet Resource::loadIconSet( const QString &pix )
48{ 52{
53
54#ifdef OPIE_INTERNAL_LIBRARY_BUILD
49 /* 55 /*
@@ -53,2 +59,3 @@ inline QIconSet Resource::loadIconSet( const QString &pix )
53 qpe_fast_findPixmap = true; 59 qpe_fast_findPixmap = true;
60#endif
54 61
@@ -60,3 +67,6 @@ inline QIconSet Resource::loadIconSet( const QString &pix )
60 67
68#ifdef OPIE_INTERNAL_LIBRARY_BUILD
61 qpe_fast_findPixmap = oldMode; 69 qpe_fast_findPixmap = oldMode;
70#endif
71
62 return is; 72 return is;