Fix console window (now not a QDialog)
It now opens and coloses as expected, depending on user preferences and the status of the various processes involved. Console window geometry and state are remembered between runs.
This commit is contained in:
@ -58,6 +58,11 @@ public:
|
||||
*/
|
||||
void launch();
|
||||
|
||||
BaseInstance *instance()
|
||||
{
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
void setMinecraftWorkdir(QString path);
|
||||
|
||||
void setMinecraftArguments(QStringList args);
|
||||
@ -71,6 +76,21 @@ public:
|
||||
}
|
||||
|
||||
signals:
|
||||
/**
|
||||
* @brief emitted when Minecraft immediately fails to run
|
||||
*/
|
||||
void launch_failed(BaseInstance *);
|
||||
|
||||
/**
|
||||
* @brief emitted when the PreLaunchCommand fails
|
||||
*/
|
||||
void prelaunch_failed(BaseInstance *, int code, QProcess::ExitStatus status);
|
||||
|
||||
/**
|
||||
* @brief emitted when the PostLaunchCommand fails
|
||||
*/
|
||||
void postlaunch_failed(BaseInstance *, int code, QProcess::ExitStatus status);
|
||||
|
||||
/**
|
||||
* @brief emitted when mc has finished and the PostLaunchCommand was run
|
||||
*/
|
||||
|
Reference in New Issue
Block a user