mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Fix ComicDB::getTitleOrFileName()
This commit is contained in:
parent
b14c6d4492
commit
53b19ffecd
@ -131,7 +131,7 @@ QString ComicDB::getFileName() const
|
||||
|
||||
QString ComicDB::getTitleOrFileName() const
|
||||
{
|
||||
if(!info.title.isNull() && info.title.toString().isEmpty())
|
||||
if(!info.title.isNull() && !info.title.toString().isEmpty())
|
||||
return info.title.toString();
|
||||
else
|
||||
return QFileInfo(path).fileName();
|
||||
|
Loading…
Reference in New Issue
Block a user