summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/resource.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/library/resource.cpp b/library/resource.cpp
index 92d4b60..f6b548d 100644
--- a/library/resource.cpp
+++ b/library/resource.cpp
@@ -36,6 +36,4 @@ namespace {
#endif
-static bool g_notUseSet = ::getenv("OVERWRITE_ICON_SET");
-
/*!
\class Resource resource.h
@@ -167,16 +165,4 @@ static QImage load_image(const QString &name)
QImage img;
- if (g_notUseSet ) {
- // try file
- QString f = Resource::findPixmap(name);
- if ( !f.isEmpty() )
- img.load(f);
-#ifndef LIBQPE_NO_INLINE_IMAGES
- if (img.isNull() )
- img = qembed_findImage(name.latin1() );
-#endif
- return img;
- }
- else{
#ifndef LIBQPE_NO_INLINE_IMAGES
img = qembed_findImage(name.latin1());
@@ -198,5 +184,4 @@ static QImage load_image(const QString &name)
return img;
}
-}
/*!