CustomSortFilterModel example: fix build with QT_NO_CURSOR
Change-Id: Icb40e49365114fedd5f1ef118dbd61ff2c413863 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
b83dc929ec
commit
04ef22b9ee
@ -81,7 +81,9 @@ FilterWidget::FilterWidget(QWidget *parent)
|
||||
|
||||
const QIcon icon = QIcon(QPixmap(":/images/find.png"));
|
||||
QToolButton *optionsButton = new QToolButton;
|
||||
#ifndef QT_NO_CURSOR
|
||||
optionsButton->setCursor(Qt::ArrowCursor);
|
||||
#endif
|
||||
optionsButton->setFocusPolicy(Qt::NoFocus);
|
||||
optionsButton->setStyleSheet("* { border: none; }");
|
||||
optionsButton->setIcon(icon);
|
||||
|
Loading…
Reference in New Issue
Block a user