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:
Orgad Shaneh
2013-01-07 22:15:03 +02:00
committed by hjk
parent 5abce3ab9f
commit 73a2717bed
2 changed files with 9 additions and 7 deletions

View File

@@ -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;