fixed linux compilation

This commit is contained in:
fourtf 2018-05-28 19:49:37 +02:00
parent 0f8375a2f3
commit fe3ab1f1b9
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit ad31b38866d80a17ced902476ed06da69edce3a0
Subproject commit 439b585976a864de679fc5d5b2c688380b2ef72c

View file

@ -149,6 +149,7 @@ void NativeMessagingManager::ReceiverThread::handleMessage(const QJsonObject &ro
bool attach = root.value("attach").toBool();
QString name = root.value("name").toString();
#ifdef USEWINSDK
widgets::AttachedWindow::GetArgs args;
args.winId = root.value("winId").toString();
args.yOffset = root.value("yOffset").toInt(-1);
@ -160,6 +161,7 @@ void NativeMessagingManager::ReceiverThread::handleMessage(const QJsonObject &ro
attach = false;
return;
}
#endif
if (_type == "twitch") {
util::postToThread([=] {