Em ter 10 jun 2014, às 19:07:28, Gehad escreveu: > + QString json_dive_data = exportFiles + QDir::separator() + > "file.json"; > + QString json_settings = exportFiles + > QDir::separator() + "settings.json";
Note that you only need to use QDir::separator() if you're constructing a file name that you'll pass to non-Qt library functions, like the Win32 API or the C library. If you're going to use the QFile and QDir, just use forward slashes. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 _______________________________________________ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface