NOISSUE Don't append .disabled to string
This commit is contained in:
parent
e8bf9cef24
commit
c1953739d9
@ -133,7 +133,7 @@ bool SimpleModList::installMod(const QString &filename)
|
||||
|
||||
if (type == Mod::MOD_SINGLEFILE || type == Mod::MOD_ZIPFILE || type == Mod::MOD_LITEMOD)
|
||||
{
|
||||
if(QFile::exists(newpath) || QFile::exists(newpath.append(".disabled")))
|
||||
if(QFile::exists(newpath) || QFile::exists(newpath + QString(".disabled")))
|
||||
{
|
||||
if(!QFile::remove(newpath))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user