Remove unused variable in QStyleSheetStyle::hasStyleRule()
Change-Id: I052fcc067ffbd1d470593d16af5f2189541c6264 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
10414444e1
commit
d41c5f9dba
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user