Skip to content

Commit 6bbf401

Browse files
committed
Fix build for Qt < 5.10
1 parent e2f3186 commit 6bbf401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ImportCsvDialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ QChar ImportCsvDialog::currentQuoteChar() const
729729
else if(ui->comboQuote->currentText().length())
730730
value = ui->comboQuote->currentText();
731731

732-
return value.size() ? value.front() : QChar();
732+
return value.size() ? value.at(0) : QChar();
733733
}
734734

735735
void ImportCsvDialog::setSeparatorChar(QChar c)
@@ -758,7 +758,7 @@ QChar ImportCsvDialog::currentSeparatorChar() const
758758
else
759759
value = ui->comboSeparator->currentText() == tr("Tab") ? "\t" : ui->comboSeparator->currentText();
760760

761-
return value.size() ? value.front() : QChar();
761+
return value.size() ? value.at(0) : QChar();
762762
}
763763

764764
void ImportCsvDialog::setEncoding(const QString& sEnc)

0 commit comments

Comments
 (0)