fixed linux compilation
This commit is contained in:
+1
-1
Submodule lib/settings updated: ad31b38866...439b585976
@@ -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([=] {
|
||||||
|
|||||||
Reference in New Issue
Block a user