Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into resource_size
This commit is contained in:
commit
b47ec7f2dc
48 changed files with 113 additions and 75 deletions
|
@ -39,14 +39,14 @@ class ResourceFolderModel : public QAbstractListModel {
|
|||
* Returns whether starting to watch all the paths was successful.
|
||||
* If one or more fails, it returns false.
|
||||
*/
|
||||
bool startWatching(const QStringList paths);
|
||||
bool startWatching(const QStringList& paths);
|
||||
|
||||
/** Stops watching the paths for changes.
|
||||
*
|
||||
* Returns whether stopping to watch all the paths was successful.
|
||||
* If one or more fails, it returns false.
|
||||
*/
|
||||
bool stopWatching(const QStringList paths);
|
||||
bool stopWatching(const QStringList& paths);
|
||||
|
||||
/* Helper methods for subclasses, using a predetermined list of paths. */
|
||||
virtual bool startWatching() { return startWatching({ m_dir.absolutePath() }); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue