diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-10-31 21:42:06 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-10-31 21:43:33 +0100 |
commit | 27f276ef13f49b4d21b6c17db5d4cd5e404ea259 (patch) | |
tree | ec4f42a099b6f3df467536b0c9a9ac9e0677ab53 /libraries/LocalPeer/include | |
parent | 393d17b8d383d7514b45ba980cc0246859bad085 (diff) | |
download | PrismLauncher-27f276ef13f49b4d21b6c17db5d4cd5e404ea259.tar.gz PrismLauncher-27f276ef13f49b4d21b6c17db5d4cd5e404ea259.tar.bz2 PrismLauncher-27f276ef13f49b4d21b6c17db5d4cd5e404ea259.zip |
GH-1795 add terminal launch option to use a specific Minecraft profile
Used like this:
```
./MultiMC --launch 1.17.1 --profile MultiMCTest --server mc.hypixel.net
```
Diffstat (limited to 'libraries/LocalPeer/include')
-rw-r--r-- | libraries/LocalPeer/include/LocalPeer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/LocalPeer/include/LocalPeer.h b/libraries/LocalPeer/include/LocalPeer.h index a24e4775..3619ed5d 100644 --- a/libraries/LocalPeer/include/LocalPeer.h +++ b/libraries/LocalPeer/include/LocalPeer.h @@ -83,11 +83,11 @@ public: LocalPeer(QObject *parent, const ApplicationId &appId); ~LocalPeer(); bool isClient(); - bool sendMessage(const QString &message, int timeout); + bool sendMessage(const QByteArray &message, int timeout); ApplicationId applicationId() const; Q_SIGNALS: - void messageReceived(const QString &message); + void messageReceived(const QByteArray &message); protected Q_SLOTS: void receiveConnection(); |