Added fullscreen support to browser extension

This commit is contained in:
fourtf
2019-08-20 03:13:42 +02:00
parent e07d11e9a3
commit 1b0102c948
4 changed files with 88 additions and 41 deletions
-12
View File
@@ -70,18 +70,6 @@ void runBrowserExtensionHost()
{
initFileMode();
std::atomic<bool> ping(false);
QTimer timer;
QObject::connect(&timer, &QTimer::timeout, [&ping] {
if (!ping.exchange(false))
{
_Exit(0);
}
});
timer.setInterval(11000);
timer.start();
NativeMessagingClient client;
runLoop(client);