Qt: Replace some deprecated Qt5 stuff

This commit is contained in:
Megamouse 2022-04-21 20:54:02 +02:00
parent e9af0bb72b
commit 8d781a737b
11 changed files with 29 additions and 31 deletions

View file

@ -745,8 +745,8 @@ bool patch_manager_dialog::is_valid_file(const QMimeData& md, QStringList* drop_
for (auto&& url : list) // Check each file in url list for valid type
{
const QString path = url.toLocalFile(); // Convert url to filepath
const QFileInfo info = path;
const QString path = url.toLocalFile(); // Convert url to filepath
const QFileInfo info(path);
if (!info.fileName().endsWith("patch.yml"))
{