| 447 | | |
| 448 | | if (status != ICQ_STATUS_OFFLINE && status != ICQ_STATUS_ONLINE) |
| 449 | | AwayMsgDlg::showAwayMsgDlg(status, true); |
| 450 | | |
| 451 | | LicqGui::instance()->changeStatus(status, myStatusInvisibleAction->isChecked()); |
| | 447 | bool withMsg = (status != ICQ_STATUS_OFFLINE && status != ICQ_STATUS_ONLINE); |
| | 448 | bool changeNow = !Config::General::instance()->delayStatusChange(); |
| | 449 | |
| | 450 | if (withMsg) |
| | 451 | AwayMsgDlg::showAwayMsgDlg(status, true, 0, myStatusInvisibleAction->isChecked(), !changeNow); |
| | 452 | |
| | 453 | if (changeNow || !withMsg) |
| | 454 | LicqGui::instance()->changeStatus(status, myStatusInvisibleAction->isChecked()); |
| 699 | | if (status != ICQ_STATUS_OFFLINE && status != ICQ_STATUS_ONLINE) |
| 700 | | AwayMsgDlg::showAwayMsgDlg(status, true); |
| 701 | | LicqGui::instance()->changeStatus(status, myPpid, myStatusInvisibleAction->isChecked()); |
| | 702 | bool withMsg = (status != ICQ_STATUS_OFFLINE && status != ICQ_STATUS_ONLINE); |
| | 703 | bool changeNow = !Config::General::instance()->delayStatusChange(); |
| | 704 | |
| | 705 | if (withMsg) |
| | 706 | AwayMsgDlg::showAwayMsgDlg(status, true, myPpid, myStatusInvisibleAction->isChecked(), !changeNow); |
| | 707 | |
| | 708 | if (changeNow || !withMsg) |
| | 709 | LicqGui::instance()->changeStatus(status, myPpid, myStatusInvisibleAction->isChecked()); |