void Window::checkHistoryActivation(int state) { if (main && MTP::authedId() && historyIsActive(state)) { main->historyWasRead(); } QTimer::singleShot(1, this, SLOT(updateTrayMenu())); }
void Window::checkHistoryActivation(int state) { if (main && MTP::authedId() && historyIsActive(state)) { main->historyWasRead(); } }