summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/resource.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/resource.cpp b/library/resource.cpp
index 0db2a75..bdcd603 100644
--- a/library/resource.cpp
+++ b/library/resource.cpp
@@ -25,13 +25,19 @@
#include <qdir.h>
#include <qfile.h>
#include <qregexp.h>
#include <qpixmapcache.h>
#include <qpainter.h>
+// this namespace is just a workaround for a gcc bug
+// gcc exports inline functions in the generated file
+// inlinepics_p.h
+
+namespace {
#include "inlinepics_p.h"
+}
/*!
\class Resource resource.h
\brief The Resource class provides access to named resources.
The resources may be provided from files or other sources.