mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
Qt: Replace some deprecated Qt5 stuff
This commit is contained in:
parent
e9af0bb72b
commit
8d781a737b
11 changed files with 29 additions and 31 deletions
|
|
@ -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"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue