Commit 6939ed0c authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Handle method rename in Qt5.

Change-Id: I2c6dc06ad3b9c8b8261075a4dafecc099d4b64cf
Reviewed-by: default avatarFriedemann Kleint <>
parent f05c2753
......@@ -72,7 +72,11 @@ void SearchResultTreeItemDelegate::paint(QPainter *painter, const QStyleOptionVi
if (checkable) {
QVariant checkStateData =;
checkState = static_cast<Qt::CheckState>(checkStateData.toInt());
#if QT_VERSION >= 0x050000
checkRect = doCheck(opt, opt.rect, checkStateData);
#else // Qt4
checkRect = check(opt, opt.rect, checkStateData);
// icon
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment