forked from qt-creator/qt-creator
Replace Q_ASSERTs with QTC_ASSERTs
or even with QTC_CHECKs. Change-Id: I6df67f088bb2f944f0a1abd751fdb192db2be298 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include <texteditor/texteditorsettings.h>
|
||||
#include <texteditor/fontsettings.h>
|
||||
#include <texteditor/texteditorconstants.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QtGui/QSyntaxHighlighter>
|
||||
#include <QtGui/QTextEdit>
|
||||
@@ -78,7 +79,7 @@ MercurialSubmitHighlighter::MercurialSubmitHighlighter(QTextEdit *parent) :
|
||||
m_keywordPattern(QLatin1String("^\\w+:")),
|
||||
m_hashChar(QLatin1Char('#'))
|
||||
{
|
||||
Q_ASSERT(m_keywordPattern.isValid());
|
||||
QTC_CHECK(m_keywordPattern.isValid());
|
||||
}
|
||||
|
||||
void MercurialSubmitHighlighter::highlightBlock(const QString &text)
|
||||
|
||||
Reference in New Issue
Block a user