This one has not yet made it into master.

miika

On Sun, Sep 25, 2016 at 12:33 PM, Miika Turkia <[email protected]> wrote:
> We need to read the file given as parameter, not the first in list.
>
> Signed-off-by: Miika Turkia <[email protected]>
> ---
>  desktop-widgets/divelogimportdialog.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/desktop-widgets/divelogimportdialog.cpp 
> b/desktop-widgets/divelogimportdialog.cpp
> index 79a01e2..c65f899 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;
> --
> 2.5.0
>
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to