mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
qt5: toAscii() -> toLatin1()
This commit is contained in:
@@ -207,12 +207,12 @@ void ImportCsvDialog::checkInput()
|
||||
char ImportCsvDialog::currentQuoteChar()
|
||||
{
|
||||
if(ui->comboQuote->currentText().length())
|
||||
return ui->comboQuote->currentText().at(0).toAscii();
|
||||
return ui->comboQuote->currentText().at(0).toLatin1();
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
char ImportCsvDialog::currentSeparatorChar()
|
||||
{
|
||||
return ui->comboSeparator->currentText() == tr("Tab") ? '\t' : ui->comboSeparator->currentText().at(0).toAscii();
|
||||
return ui->comboSeparator->currentText() == tr("Tab") ? '\t' : ui->comboSeparator->currentText().at(0).toLatin1();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user