mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
89198f5e2d
commit
c2140e21ad
|
@ -46,7 +46,7 @@ IPC::IPC(uint32_t profileId)
|
|||
|
||||
timer.setInterval(EVENT_TIMER_MS);
|
||||
timer.setSingleShot(true);
|
||||
processEvents();
|
||||
connect(&timer, &QTimer::timeout, this, &IPC::processEvents);
|
||||
|
||||
// The first started instance gets to manage the shared memory by taking ownership
|
||||
// Every time it processes events it updates the global shared timestamp "lastProcessed"
|
||||
|
|
Loading…
Reference in New Issue
Block a user