made safe for vegetarians
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
589d8b6923
commit
f919d363b7
@ -228,7 +228,7 @@ bool ModFolderModel::deleteMods(const QModelIndexList& indexes)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ModFolderModel::deleteModsMeatadata(const QModelIndexList& indexes)
|
bool ModFolderModel::deleteModsMetadata(const QModelIndexList& indexes)
|
||||||
{
|
{
|
||||||
if (indexes.isEmpty())
|
if (indexes.isEmpty())
|
||||||
return true;
|
return true;
|
||||||
|
@ -79,7 +79,7 @@ class ModFolderModel : public ResourceFolderModel {
|
|||||||
|
|
||||||
/// Deletes all the selected mods
|
/// Deletes all the selected mods
|
||||||
bool deleteMods(const QModelIndexList& indexes);
|
bool deleteMods(const QModelIndexList& indexes);
|
||||||
bool deleteModsMeatadata(const QModelIndexList& indexes);
|
bool deleteModsMetadata(const QModelIndexList& indexes);
|
||||||
|
|
||||||
bool isValid();
|
bool isValid();
|
||||||
|
|
||||||
|
@ -328,5 +328,5 @@ void ModFolderPage::deleteModMetadata()
|
|||||||
->exec();
|
->exec();
|
||||||
|
|
||||||
if (response == QMessageBox::Yes)
|
if (response == QMessageBox::Yes)
|
||||||
m_model->deleteModsMeatadata(selection);
|
m_model->deleteModsMetadata(selection);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user