mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed linux compilation
This commit is contained in:
parent
0f8375a2f3
commit
fe3ab1f1b9
2 changed files with 3 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit ad31b38866d80a17ced902476ed06da69edce3a0
|
Subproject commit 439b585976a864de679fc5d5b2c688380b2ef72c
|
|
@ -149,6 +149,7 @@ void NativeMessagingManager::ReceiverThread::handleMessage(const QJsonObject &ro
|
||||||
bool attach = root.value("attach").toBool();
|
bool attach = root.value("attach").toBool();
|
||||||
QString name = root.value("name").toString();
|
QString name = root.value("name").toString();
|
||||||
|
|
||||||
|
#ifdef USEWINSDK
|
||||||
widgets::AttachedWindow::GetArgs args;
|
widgets::AttachedWindow::GetArgs args;
|
||||||
args.winId = root.value("winId").toString();
|
args.winId = root.value("winId").toString();
|
||||||
args.yOffset = root.value("yOffset").toInt(-1);
|
args.yOffset = root.value("yOffset").toInt(-1);
|
||||||
|
@ -160,6 +161,7 @@ void NativeMessagingManager::ReceiverThread::handleMessage(const QJsonObject &ro
|
||||||
attach = false;
|
attach = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (_type == "twitch") {
|
if (_type == "twitch") {
|
||||||
util::postToThread([=] {
|
util::postToThread([=] {
|
||||||
|
|
Loading…
Reference in a new issue