mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Read all files on TXT import
We need to read the file given as parameter, not the first in list. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3a454d77ba
commit
abc42cc78d
1 changed files with 1 additions and 1 deletions
|
@ -800,7 +800,7 @@ int DiveLogImportDialog::setup_csv_params(QStringList r, char **params, int pnr)
|
||||||
}
|
}
|
||||||
int DiveLogImportDialog::parseTxtHeader(QString fileName, char **params, int pnr)
|
int DiveLogImportDialog::parseTxtHeader(QString fileName, char **params, int pnr)
|
||||||
{
|
{
|
||||||
QFile f(fileNames.first());
|
QFile f(fileName);
|
||||||
QString date;
|
QString date;
|
||||||
QString time;
|
QString time;
|
||||||
QString line;
|
QString line;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue