diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 17:41:07 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 21:02:18 (GMT) |
commit | dc23fd546163edb7ff4395f44217b5cb2600004a (patch) | |
tree | 37f494c22bf86888424b195bc2e6ef9d68529b0e /src/gui/styles/qstyle.cpp | |
parent | b284975435f80eba7bf6d1edd21987dcee134e86 (diff) | |
download | Qt-dc23fd546163edb7ff4395f44217b5cb2600004a.zip Qt-dc23fd546163edb7ff4395f44217b5cb2600004a.tar.gz Qt-dc23fd546163edb7ff4395f44217b5cb2600004a.tar.bz2 |
Fix warnings related to unused variables.
Just add some Q_UNUSED for parameters or remove the variable we don't
need for the others.
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/styles/qstyle.cpp')
-rw-r--r-- | src/gui/styles/qstyle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qstyle.cpp b/src/gui/styles/qstyle.cpp index 3ebfab2..be8f794 100644 --- a/src/gui/styles/qstyle.cpp +++ b/src/gui/styles/qstyle.cpp @@ -2456,6 +2456,8 @@ QDebug operator<<(QDebug debug, QStyle::State state) qSort(states); debug << states.join(QLatin1String(" | ")); debug << ')'; +#else + Q_UNUSED(state); #endif return debug; } |