forked from qt-creator/qt-creator
use QTC_ASSERT instead of Q_ASSERT
This commit is contained in:
@@ -239,7 +239,7 @@ static void appendFileData(QIODevice *out, const QString &fileName)
|
||||
|
||||
static void appendFileData(QIODevice *out, QIODevice *in)
|
||||
{
|
||||
Q_ASSERT(!in->isSequential());
|
||||
QTC_ASSERT(!in->isSequential(), return);
|
||||
qint64 size = in->size();
|
||||
QByteArray &b = theBuffer(size);
|
||||
rawRead(in, b.data(), size);
|
||||
|
||||
Reference in New Issue
Block a user