aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/parser/parsercontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/parser/parsercontext.cpp')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/parser/parsercontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/parser/parsercontext.cpp b/SQLiteStudio3/coreSQLiteStudio/parser/parsercontext.cpp
index d9832bc..a9eae82 100644
--- a/SQLiteStudio3/coreSQLiteStudio/parser/parsercontext.cpp
+++ b/SQLiteStudio3/coreSQLiteStudio/parser/parsercontext.cpp
@@ -109,7 +109,7 @@ void ParserContext::flushErrors()
else
error(QObject::tr("Incomplete query."));
- nextTokenError = QString::null;
+ nextTokenError = QString();
raiseErrorBeforeNextToken = false;
}
}
@@ -144,7 +144,7 @@ void ParserContext::addManagedToken(TokenPtr token)
if (raiseErrorBeforeNextToken)
{
error(token, nextTokenError);
- nextTokenError = QString::null;
+ nextTokenError = QString();
raiseErrorBeforeNextToken = false;
}
}