Properly rename shader config on update/version change

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-12-08 22:43:29 +00:00
parent c10681831c
commit 826da57944
4 changed files with 27 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ class ResourceFolderModel : public QAbstractListModel {
*
* Returns whether the removal was successful.
*/
virtual bool uninstallResource(QString file_name, bool preserve_metadata = false);
virtual bool uninstallResource(const QString& file_name, bool preserve_metadata = false);
virtual bool deleteResources(const QModelIndexList&);
virtual void deleteMetadata(const QModelIndexList&);