diff options
Diffstat (limited to 'desktop-widgets/divelogimportdialog.cpp')
-rw-r--r-- | desktop-widgets/divelogimportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/divelogimportdialog.cpp b/desktop-widgets/divelogimportdialog.cpp index 79a01e25f..c65f89982 100644 --- a/desktop-widgets/divelogimportdialog.cpp +++ b/desktop-widgets/divelogimportdialog.cpp @@ -800,7 +800,7 @@ int DiveLogImportDialog::setup_csv_params(QStringList r, char **params, int pnr) } int DiveLogImportDialog::parseTxtHeader(QString fileName, char **params, int pnr) { - QFile f(fileNames.first()); + QFile f(fileName); QString date; QString time; QString line; |