Drop support of Qt 6.5

PR #22599.
This commit is contained in:
Vladimir Golovnev
2025-04-27 16:21:20 +03:00
committed by GitHub
parent 45babc336d
commit 33aaa867b5
13 changed files with 10 additions and 25 deletions

View File

@@ -176,9 +176,7 @@ void Utils::Gui::openFolderSelect(const Path &path)
const int lineMaxLength = 64;
QProcess proc;
#if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
proc.setUnixProcessParameters(QProcess::UnixProcessFlag::CloseFileDescriptors);
#endif
proc.start(u"xdg-mime"_s, {u"query"_s, u"default"_s, u"inode/directory"_s});
proc.waitForFinished();
const auto output = QString::fromLocal8Bit(proc.readLine(lineMaxLength).simplified());