Update SandMan.cpp
This commit is contained in:
parent
1061014add
commit
0ffa2ef72d
|
@ -336,6 +336,7 @@ void CSandMan::CreateUI()
|
||||||
m_pSeparator = NULL;
|
m_pSeparator = NULL;
|
||||||
CreateLabel();
|
CreateLabel();
|
||||||
m_pMenuLayout->addWidget(m_pLabel);
|
m_pMenuLayout->addWidget(m_pLabel);
|
||||||
|
UpdateLabel();
|
||||||
}
|
}
|
||||||
|
|
||||||
CreateView(iViewMode);
|
CreateView(iViewMode);
|
||||||
|
@ -729,6 +730,7 @@ void CSandMan::CreateToolBar()
|
||||||
|
|
||||||
CreateLabel();
|
CreateLabel();
|
||||||
m_pToolBar->addWidget(m_pLabel);
|
m_pToolBar->addWidget(m_pLabel);
|
||||||
|
UpdateLabel();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSandMan::CreateLabel()
|
void CSandMan::CreateLabel()
|
||||||
|
@ -744,14 +746,12 @@ void CSandMan::CreateLabel()
|
||||||
fnt.setBold(true);
|
fnt.setBold(true);
|
||||||
//fnt.setWeight(QFont::DemiBold);
|
//fnt.setWeight(QFont::DemiBold);
|
||||||
m_pLabel->setFont(fnt);
|
m_pLabel->setFont(fnt);
|
||||||
|
|
||||||
COnlineUpdater::Instance()->CheckPendingUpdate();
|
|
||||||
|
|
||||||
UpdateLabel();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSandMan::UpdateLabel()
|
void CSandMan::UpdateLabel()
|
||||||
{
|
{
|
||||||
|
COnlineUpdater::Instance()->CheckPendingUpdate();
|
||||||
|
|
||||||
QString LabelText;
|
QString LabelText;
|
||||||
QString LabelTip;
|
QString LabelTip;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue