diff options
author | Maks Naumov <maksqwe1@ukr.net> | 2014-09-21 21:03:09 +0300 |
---|---|---|
committer | Maks Naumov <maksqwe1@ukr.net> | 2014-09-22 05:43:23 +0200 |
commit | d41c5f9dba53c1592014270bab8b35768f3818ce (patch) | |
tree | 85594ecfcdaa2cc4a61db4016c089ea08b72345b /src/widgets/styles/qstylesheetstyle.cpp | |
parent | 10414444e1fdc3b91328aba19fb10bd92f6dc899 (diff) |
Remove unused variable in QStyleSheetStyle::hasStyleRule()
Change-Id: I052fcc067ffbd1d470593d16af5f2189541c6264
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/styles/qstylesheetstyle.cpp')
-rw-r--r-- | src/widgets/styles/qstylesheetstyle.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp index b82aa1b5a0..4d9f3a48e2 100644 --- a/src/widgets/styles/qstylesheetstyle.cpp +++ b/src/widgets/styles/qstylesheetstyle.cpp @@ -2045,7 +2045,6 @@ bool QStyleSheetStyle::hasStyleRule(const QObject *obj, int part) const } QString pseudoElement = QLatin1String(knownPseudoElements[part].name); - QVector<Declaration> declarations; for (int i = 0; i < rules.count(); i++) { const Selector& selector = rules.at(i).selectors.at(0); if (pseudoElement.compare(selector.pseudoElement(), Qt::CaseInsensitive) == 0) { |