explicit_braces_to_avoid_ambiguous_else.patch
src/qtui/mainwin.cpp (working copy) | ||
---|---|---|
218 | 218 |
actionData = action->data(); |
219 | 219 |
if(!actionData.isValid()) |
220 | 220 |
continue; |
221 |
|
|
221 | ||
222 | 222 |
if(actionData.toString() == "__EOBV__") |
223 | 223 |
break; |
224 | 224 | |
... | ... | |
404 | 404 |
connect(Client::bufferViewManager(), SIGNAL(bufferViewConfigAdded(int)), this, SLOT(addBufferView(int))); |
405 | 405 |
connect(Client::bufferViewManager(), SIGNAL(bufferViewConfigDeleted(int)), this, SLOT(removeBufferView(int))); |
406 | 406 |
connect(Client::bufferViewManager(), SIGNAL(initDone()), this, SLOT(loadLayout())); |
407 |
|
|
407 | ||
408 | 408 |
foreach(BufferInfo id, Client::allBufferInfos()) { |
409 | 409 |
Client::backlogManager()->requestBacklog(id.bufferId(), 500, -1); |
410 | 410 |
} |
... | ... | |
454 | 454 |
actionData = action->data(); |
455 | 455 |
if(!actionData.isValid()) |
456 | 456 |
continue; |
457 |
|
|
457 | ||
458 | 458 |
if(actionData.toString() == "__EOBV__") |
459 | 459 |
break; |
460 | 460 | |
... | ... | |
529 | 529 |
if(isHidden() /*|| !isActiveWindow()*/) { |
530 | 530 |
show(); |
531 | 531 |
if(isMinimized()) |
532 |
{ |
|
532 | 533 |
if (isMaximized()) |
533 | 534 |
showMaximized(); |
534 | 535 |
else |
535 | 536 |
showNormal(); |
537 |
} |
|
536 | 538 | |
537 | 539 |
raise(); |
538 | 540 |
activateWindow(); |