mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-22 19:49:56 +00:00
NOISSUE add an interface to pass information to CraftPresence
Specifically, the icon key and instance title.
This commit is contained in:
@@ -313,6 +313,11 @@ QString BaseInstance::windowTitle() const
|
||||
return BuildConfig.LAUNCHER_NAME + ": " + name().replace(QRegExp("[ \n\r\t]+"), " ");
|
||||
}
|
||||
|
||||
QString BaseInstance::instanceTitle() const
|
||||
{
|
||||
return name().replace(QRegExp("[ \n\r\t]+"), " ");
|
||||
}
|
||||
|
||||
// FIXME: why is this here? move it to MinecraftInstance!!!
|
||||
QStringList BaseInstance::extraArguments() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user