comparison main/MainWindow.cpp @ 1613:3f6c18fcc075

Rework network permission tester to note that aggregate info may be used, and tweak for clarity
author Chris Cannam
date Sat, 25 Feb 2017 19:24:13 +0000
parents 3b8bd7e520c5
children 33d32b3190bf
comparison
equal deleted inserted replaced
1612:21befacf6cae 1613:3f6c18fcc075
317 newSession(); 317 newSession();
318 318
319 connect(m_midiInput, SIGNAL(eventsAvailable()), 319 connect(m_midiInput, SIGNAL(eventsAvailable()),
320 this, SLOT(midiEventsAvailable())); 320 this, SLOT(midiEventsAvailable()));
321 321
322 NetworkPermissionTester tester; 322 NetworkPermissionTester tester(withOSCSupport);
323 bool networkPermission = tester.havePermission(); 323 bool networkPermission = tester.havePermission();
324 if (networkPermission) { 324 if (networkPermission) {
325 if (withOSCSupport) { 325 if (withOSCSupport) {
326 startOSCQueue(); 326 startOSCQueue();
327 } 327 }