mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix compilation on Windows
This commit is contained in:
parent
658d876ff7
commit
12195b186b
3 changed files with 6 additions and 5 deletions
|
@ -730,7 +730,7 @@ void PropertiesWidget::renameSelectedFile() {
|
|||
// Rename the file
|
||||
Q_ASSERT(!new_file_name.isEmpty());
|
||||
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
|
||||
if(h.file_at(0).compare(new_file_name, Qt::CaseInsensitive) != 0) {
|
||||
if(h.filename_at(0).compare(new_file_name, Qt::CaseInsensitive) != 0) {
|
||||
#else
|
||||
if(h.filename_at(0).compare(new_file_name, Qt::CaseSensitive) != 0) {
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue