Use static QFileInfo::exists() instead Signed-off-by: Benjamin ROBIN <dev@xxxxxxxxxxxxx> --- src/KsUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KsUtils.cpp b/src/KsUtils.cpp index 83f8f2e..792678d 100644 --- a/src/KsUtils.cpp +++ b/src/KsUtils.cpp @@ -471,7 +471,7 @@ QString getSaveFile(QWidget *parent, if (!fileName.isEmpty() && !fileName.endsWith(extension)) { fileName += extension; - if (QFileInfo(fileName).exists()) { + if (QFileInfo::exists(fileName)) { if (!KsWidgetsLib::fileExistsDialog(fileName)) fileName.clear(); } -- 2.43.0