Skip to content

Commit

Permalink
Fix QFileInfo needing QString
Browse files Browse the repository at this point in the history
  • Loading branch information
Sploder12 committed Jan 7, 2025
1 parent aa654e9 commit 024baf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sshfs_mount/sftp_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ int mp::SftpServer::handle_setstat(sftp_client_message msg)
}
}

QFileInfo file_info{filename};
QFileInfo file_info{QString::fromStdString(filename.u8string())};
if (!has_id_mappings_for(file_info))
{
mpl::log(mpl::Level::trace,
Expand Down

0 comments on commit 024baf7

Please sign in to comment.