forked from qt-creator/qt-creator
VCS: Replace Q_ASSERTs with QTC_ASSERT
Also rename m to model Change-Id: Ibb283dc2d5d0c306cbac9109a7e5fc6481ac86a8 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "vcsbaseconstants.h"
|
||||
|
||||
#include <coreplugin/fileiconprovider.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QStandardItem>
|
||||
#include <QFileInfo>
|
||||
@@ -157,7 +158,7 @@ unsigned int SubmitFileModel::filterFiles(const QStringList &filter)
|
||||
*/
|
||||
void SubmitFileModel::updateSelections(SubmitFileModel *source)
|
||||
{
|
||||
Q_ASSERT(source);
|
||||
QTC_ASSERT(source, return);
|
||||
int rows = rowCount();
|
||||
int sourceRows = source->rowCount();
|
||||
int lastMatched = 0;
|
||||
|
||||
Reference in New Issue
Block a user