DolphinQt2: move path signals from PathDialog to Settings

This commit is contained in:
Michael Maltese
2017-05-31 00:42:15 -07:00
parent 548522877a
commit 47e8cb97b4
8 changed files with 36 additions and 32 deletions

View File

@ -35,8 +35,9 @@ public:
// GameList
QStringList GetPaths() const;
void AddPath(const QString& path);
void SetPaths(const QStringList& paths);
void RemovePath(int i);
void RemovePath(const QString& path);
QString GetDefaultGame() const;
void SetDefaultGame(const QString& path);
QString GetDVDRoot() const;
@ -107,6 +108,10 @@ public:
void Save();
signals:
void PathAdded(const QString&);
void PathRemoved(const QString&);
private:
Settings();
};