-rw-r--r-- | library/resource.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/library/resource.cpp b/library/resource.cpp index f6b548d..a093e2f 100644 --- a/library/resource.cpp +++ b/library/resource.cpp | |||
@@ -166,13 +166,6 @@ static QImage load_image(const QString &name) | |||
166 | 166 | ||
167 | #ifndef LIBQPE_NO_INLINE_IMAGES | 167 | #ifndef LIBQPE_NO_INLINE_IMAGES |
168 | img = qembed_findImage(name.latin1()); | 168 | img = qembed_findImage(name.latin1()); |
169 | #else | ||
170 | QString f = Resource::findPixmap( "/inline/" + name ); | ||
171 | if ( !f.isEmpty() ) | ||
172 | { | ||
173 | img.load(f); | ||
174 | return img; | ||
175 | } | ||
176 | #endif | 169 | #endif |
177 | if ( img.isNull() ) | 170 | if ( img.isNull() ) |
178 | { | 171 | { |