diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-03 16:14:45 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-03 16:17:23 (GMT) |
commit | b489394e695f78d78db9bf08bc985219f8fb9bb2 (patch) | |
tree | 8d10c84a7a9ef02bfc7df89a584b989d331fd149 /src/gui/styles | |
parent | f57521e4c658cf239f4691efed66e49c41f22bd5 (diff) | |
download | Qt-b489394e695f78d78db9bf08bc985219f8fb9bb2.zip Qt-b489394e695f78d78db9bf08bc985219f8fb9bb2.tar.gz Qt-b489394e695f78d78db9bf08bc985219f8fb9bb2.tar.bz2 |
Fix compilation: include QString in order to use QString.
It doesn't happen on my system, but the CI system complains, so I guess it's a namespace issue.
Diffstat (limited to 'src/gui/styles')
-rw-r--r-- | src/gui/styles/qgtkstyle_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/styles/qgtkstyle_p.h b/src/gui/styles/qgtkstyle_p.h index e8b0be7..6ee7904 100644 --- a/src/gui/styles/qgtkstyle_p.h +++ b/src/gui/styles/qgtkstyle_p.h @@ -76,6 +76,8 @@ typedef unsigned long XID; #define QLS(x) QLatin1String(x) +QT_BEGIN_NAMESPACE + // ### Qt 4.7 - merge with QLatin1Literal class QHashableLatin1Literal { @@ -120,6 +122,8 @@ bool operator==(const QHashableLatin1Literal &l1, const QHashableLatin1Literal & inline bool operator!=(const QHashableLatin1Literal &l1, const QHashableLatin1Literal &l2) { return !operator==(l1, l2); } uint qHash(const QHashableLatin1Literal &key); +QT_END_NAMESPACE + class GConf; class GConfClient; |