|
Lines 398-404
Link Here
|
| 398 |
void MainWindow::checkInitState() |
398 |
void MainWindow::checkInitState() |
| 399 |
{ |
399 |
{ |
| 400 |
TRACE_OBJ |
400 |
TRACE_OBJ |
| 401 |
HelpEngineWrapper::instance().initialDocSetupDone(); |
401 |
if (!m_connectedInitSignals) { |
|
|
402 |
// initiate help engine setup only once |
| 403 |
HelpEngineWrapper::instance().initialDocSetupDone(); |
| 404 |
} |
| 402 |
if (!m_cmdLine->enableRemoteControl()) |
405 |
if (!m_cmdLine->enableRemoteControl()) |
| 403 |
return; |
406 |
return; |
| 404 |
|
407 |
|
|
Lines 416-421
Link Here
|
| 416 |
if (m_connectedInitSignals) { |
419 |
if (m_connectedInitSignals) { |
| 417 |
disconnect(helpEngine.contentModel(), 0, this, 0); |
420 |
disconnect(helpEngine.contentModel(), 0, this, 0); |
| 418 |
disconnect(helpEngine.indexModel(), 0, this, 0); |
421 |
disconnect(helpEngine.indexModel(), 0, this, 0); |
|
|
422 |
m_connectedInitSignals = false; |
| 419 |
} |
423 |
} |
| 420 |
emit initDone(); |
424 |
emit initDone(); |
| 421 |
} |
425 |
} |