mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-08 22:42:34 -04:00
Change 'unget' error message to untranslatable qWarning
This commit is contained in:
parent
0c0c558ff7
commit
3605bec8e0
1 changed files with 5 additions and 3 deletions
|
@ -268,8 +268,10 @@ void CsvParser::getChar(QChar& c) {
|
|||
}
|
||||
|
||||
void CsvParser::ungetChar() {
|
||||
if (!m_ts.seek(m_lastPos))
|
||||
appendStatusMsg(QObject::tr("INTERNAL - unget lower bound exceeded"), true);
|
||||
if (!m_ts.seek(m_lastPos)) {
|
||||
qWarning("CSV Parser: unget lower bound exceeded");
|
||||
m_isGood = false;
|
||||
}
|
||||
}
|
||||
|
||||
void CsvParser::peek(QChar& c) {
|
||||
|
@ -380,5 +382,5 @@ void CsvParser::appendStatusMsg(QString s, bool isCritical) {
|
|||
.append(",")
|
||||
.append(QString::number(m_currCol))
|
||||
.append("\n");
|
||||
m_isGood = not isCritical;
|
||||
m_isGood = !isCritical;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue