mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03:00
GH-988 add ability to toggle mods with keyboard
This commit is contained in:
parent
d31184f9a4
commit
4ed67413ac
4 changed files with 32 additions and 7 deletions
|
|
@ -82,7 +82,7 @@ public:
|
|||
}
|
||||
|
||||
/// Reloads the mod list and returns true if the list changed.
|
||||
virtual bool update();
|
||||
bool update();
|
||||
|
||||
/**
|
||||
* Adds the given mod to the list at the given index - if the list supports custom ordering
|
||||
|
|
@ -90,15 +90,16 @@ public:
|
|||
bool installMod(const QString& filename);
|
||||
|
||||
/// Deletes all the selected mods
|
||||
virtual bool deleteMods(const QModelIndexList &indexes);
|
||||
bool deleteMods(const QModelIndexList &indexes);
|
||||
|
||||
/// Enable or disable listed mods
|
||||
virtual bool enableMods(const QModelIndexList &indexes, bool enable = true);
|
||||
bool enableMods(const QModelIndexList &indexes, bool enable = true);
|
||||
void toggleEnabled(const QModelIndex &index);
|
||||
|
||||
void startWatching();
|
||||
void stopWatching();
|
||||
|
||||
virtual bool isValid();
|
||||
bool isValid();
|
||||
|
||||
QDir dir()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue