aboutsummaryrefslogtreecommitdiff
path: root/deskutils/fbreader/files/patch-zlibrary_ui_src_qt4_filesystem_ZLQtFSManager.cpp
blob: cd0d548eaff2bd46038006bbaa803b29fce5e37f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- zlibrary/ui/src/qt4/filesystem/ZLQtFSManager.cpp.orig	2024-12-20 19:24:04 UTC
+++ zlibrary/ui/src/qt4/filesystem/ZLQtFSManager.cpp
@@ -27,7 +27,7 @@ std::string ZLQtFSManager::convertFilenameToUtf8(const
 	}
 
 	QString qString = QString::fromLocal8Bit(name.c_str());
-	return (qString == QString::null) ? "" : (const char*)qString.toUtf8();
+	return (qString == QString()) ? "" : (const char*)qString.toUtf8();
 }
 
 std::string ZLQtFSManager::mimeType(const std::string &path) const {