Fix isQtQuickControl check with Qt 5.7

Review Request #127524 - Created March 29, 2016 and submitted

Information
David Rosca
breeze
Plasma/5.6
Reviewers
hpereiradacosta

Only check for QQuickItem instead of private class names.
Also changed remaining places to use the isQtQuickControl function.

Works fine with Qt 5.7

I think we should not test for className().startsWith("QQuickStyleItem") because there is a new QtQuickControls2 module that could have QQuickStyleItem2 class (does not currently).

Issues

  • 0
  • 0
  • 1
  • 1
Description From Last Updated
Hugo Pereira Da Costa
Hugo Pereira Da Costa
David Rosca
Hugo Pereira Da Costa
David Rosca
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit e335a81c191c974a516d3dae5fe8d1b6a28d6068 by David Rosca to branch Plasma/5.6.
Loading...