mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-04 09:08:42 +00:00
GH-336 Rename directories on instance rename
This commit is contained in:
@@ -93,6 +93,8 @@ public:
|
||||
/// Path to the instance's root directory.
|
||||
QString instanceRoot() const;
|
||||
|
||||
void setInstanceRoot(QString newRoot);
|
||||
|
||||
/// Path to the instance's game root directory.
|
||||
virtual QString gameRoot() const
|
||||
{
|
||||
@@ -100,7 +102,7 @@ public:
|
||||
}
|
||||
|
||||
QString name() const;
|
||||
void setName(QString val);
|
||||
void setName(QString val, bool requestDirChange);
|
||||
|
||||
/// Value used for instance window titles
|
||||
QString windowTitle() const;
|
||||
@@ -245,6 +247,8 @@ signals:
|
||||
|
||||
void statusChanged(Status from, Status to);
|
||||
|
||||
void instanceDirChangeRequest(BaseInstance *inst);
|
||||
|
||||
protected slots:
|
||||
void iconUpdated(QString key);
|
||||
|
||||
|
Reference in New Issue
Block a user