mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 02:20:00 +03:00
NOISSUE Don't append .disabled to string
This commit is contained in:
parent
e8bf9cef24
commit
c1953739d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue