1.6.4
This commit is contained in:
parent
08d665cf94
commit
3f1740693e
|
@ -1690,10 +1690,8 @@ void CSandMan::OnBoxClosed(const CSandBoxPtr& pBox)
|
|||
|
||||
void CSandMan::OnStatusChanged()
|
||||
{
|
||||
bool isConnected = theAPI->IsConnected();
|
||||
|
||||
QString appTitle = tr("Sandboxie-Plus v%1").arg(GetVersion());
|
||||
if (isConnected)
|
||||
if (theAPI->IsConnected())
|
||||
{
|
||||
bool bPortable = IsFullyPortable();
|
||||
|
||||
|
@ -1844,10 +1842,17 @@ void CSandMan::OnStatusChanged()
|
|||
theAPI->StopMonitor();
|
||||
}
|
||||
|
||||
m_pSupport->setVisible(g_Certificate.isEmpty());
|
||||
|
||||
this->setWindowTitle(appTitle);
|
||||
|
||||
UpdateState();
|
||||
}
|
||||
|
||||
void CSandMan::UpdateState()
|
||||
{
|
||||
bool isConnected = theAPI->IsConnected();
|
||||
|
||||
m_pSupport->setVisible(g_Certificate.isEmpty());
|
||||
|
||||
m_pTrayIcon->setIcon(GetTrayIcon(isConnected));
|
||||
m_pTrayIcon->setToolTip(GetTrayText(isConnected));
|
||||
m_bIconEmpty = true;
|
||||
|
@ -2620,7 +2625,7 @@ void CSandMan::RebuildUI()
|
|||
|
||||
GetBoxView()->ReloadUserConfig();
|
||||
|
||||
OnStatusChanged();
|
||||
UpdateState();
|
||||
|
||||
if(m_pTrayBoxes) m_pTrayBoxes->setStyle(QStyleFactory::create(m_DefaultStyle));
|
||||
}
|
||||
|
|
|
@ -253,6 +253,8 @@ private:
|
|||
void LoadState(bool bFull = true);
|
||||
void StoreState();
|
||||
|
||||
void UpdateState();
|
||||
|
||||
void EnumBoxLinks(QMap<QString, QMap<QString, QString> >& BoxLinks, const QString& Prefix, const QString& Folder, bool bWithSubDirs = true);
|
||||
void CleanupShortcutPath(const QString& Path);
|
||||
void DeleteShortcut(const QString& Path);
|
||||
|
|
Loading…
Reference in New Issue