예제 #1
0
void Window::checkHistoryActivation(int state) {
	if (main && MTP::authedId() && historyIsActive(state)) {
		main->historyWasRead();
	}
	QTimer::singleShot(1, this, SLOT(updateTrayMenu()));
}
예제 #2
0
파일: window.cpp 프로젝트: cesczuo/tdesktop
void Window::checkHistoryActivation(int state) {
	if (main && MTP::authedId() && historyIsActive(state)) {
		main->historyWasRead();
	}
}