mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Fix build for Qt < 5.10
This commit is contained in:
@@ -729,7 +729,7 @@ QChar ImportCsvDialog::currentQuoteChar() const
|
||||
else if(ui->comboQuote->currentText().length())
|
||||
value = ui->comboQuote->currentText();
|
||||
|
||||
return value.size() ? value.front() : QChar();
|
||||
return value.size() ? value.at(0) : QChar();
|
||||
}
|
||||
|
||||
void ImportCsvDialog::setSeparatorChar(QChar c)
|
||||
@@ -758,7 +758,7 @@ QChar ImportCsvDialog::currentSeparatorChar() const
|
||||
else
|
||||
value = ui->comboSeparator->currentText() == tr("Tab") ? "\t" : ui->comboSeparator->currentText();
|
||||
|
||||
return value.size() ? value.front() : QChar();
|
||||
return value.size() ? value.at(0) : QChar();
|
||||
}
|
||||
|
||||
void ImportCsvDialog::setEncoding(const QString& sEnc)
|
||||
|
||||
Reference in New Issue
Block a user