Update SandMan.cpp
This commit is contained in:
parent
ad9afe3445
commit
b4c3f15f09
|
@ -1430,6 +1430,7 @@ void CSandMan::timerEvent(QTimerEvent* pEvent)
|
||||||
}
|
}
|
||||||
|
|
||||||
bool bUpdatePending = !theConf->GetString("Updater/PendingUpdate").isEmpty();
|
bool bUpdatePending = !theConf->GetString("Updater/PendingUpdate").isEmpty();
|
||||||
|
if (m_pDismissUpdate) {
|
||||||
if (bUpdatePending) {
|
if (bUpdatePending) {
|
||||||
if (m_pDismissUpdate->isChecked())
|
if (m_pDismissUpdate->isChecked())
|
||||||
bUpdatePending = false;
|
bUpdatePending = false;
|
||||||
|
@ -1440,6 +1441,7 @@ void CSandMan::timerEvent(QTimerEvent* pEvent)
|
||||||
m_pDismissUpdate->setChecked(false);
|
m_pDismissUpdate->setChecked(false);
|
||||||
if (!bUpdatePending && m_pDismissUpdate->isVisible())
|
if (!bUpdatePending && m_pDismissUpdate->isVisible())
|
||||||
m_pDismissUpdate->setVisible(false);
|
m_pDismissUpdate->setVisible(false);
|
||||||
|
}
|
||||||
|
|
||||||
if (m_bIconEmpty != (ActiveProcesses == 0) || m_bIconBusy != bIconBusy || m_iIconDisabled != (bForceProcessDisabled ? 1 : 0) || bUpdatePending || m_bIconSun)
|
if (m_bIconEmpty != (ActiveProcesses == 0) || m_bIconBusy != bIconBusy || m_iIconDisabled != (bForceProcessDisabled ? 1 : 0) || bUpdatePending || m_bIconSun)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue