Fix warning for -no-feature-lineedit

Change-Id: Ia56d5d7266a379f911e4db61e60b8b39af5b6342
Reviewed-by: Stephan Binner <stephan.binner@basyskom.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Tasuku Suzuki 2017-04-27 12:23:05 +09:00 committed by Stephan Binner
parent de76ccb967
commit ea15b170ef

View File

@ -547,6 +547,8 @@ bool QAbstractItemDelegatePrivate::tryFixup(QWidget *editor)
return e->hasAcceptableInput(); return e->hasAcceptableInput();
} }
} }
#else
Q_UNUSED(editor)
#endif // QT_NO_LINEEDIT #endif // QT_NO_LINEEDIT
return true; return true;