forked from qt-creator/qt-creator
New QTC_CHECK warning replacing QTC_ASSERT(x, /**/)
Warn if the condition fails, but otherwise don't change the execution flow. Change-Id: Id7b14c745109b66960add967b2a4ef8d31e1a546 Reviewed-on: http://codereview.qt.nokia.com/2389 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -461,7 +461,7 @@ QModelIndex BreakHandler::createIndex(int row, int column, quint32 id) const
|
||||
|
||||
QModelIndex BreakHandler::createIndex(int row, int column, void *ptr) const
|
||||
{
|
||||
QTC_ASSERT(false, /**/); // This function is not used.
|
||||
QTC_CHECK(false); // This function is not used.
|
||||
return QAbstractItemModel::createIndex(row, column, ptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user