mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-03 10:25:02 +00:00
Fix renaming files is not case sensitive on Windows platform. Closes #5128.
This commit is contained in:
parent
a2d5d48aff
commit
0939875ca8
@ -700,7 +700,7 @@ void PropertiesWidget::renameSelectedFile()
|
||||
path_items.removeLast();
|
||||
path_items << new_name_last;
|
||||
QString new_name = path_items.join("/");
|
||||
if (Utils::Fs::sameFileNames(old_name, new_name)) {
|
||||
if (old_name == new_name) {
|
||||
qDebug("Name did not change");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user