1.2.1
This commit is contained in:
parent
75dc0edd6d
commit
225da37c04
|
@ -773,14 +773,17 @@ void CSandMan::closeEvent(QCloseEvent *e)
|
|||
QIcon CSandMan::GetBoxIcon(int boxType, bool inUse)// , int iBusy)
|
||||
{
|
||||
EBoxColors color = eYellow;
|
||||
switch (boxType) {
|
||||
case CSandBoxPlus::eHardenedPlus: color = eRed; break;
|
||||
case CSandBoxPlus::eHardened: color = eOrang; break;
|
||||
case CSandBoxPlus::eDefaultPlus: color = eBlue; break;
|
||||
case CSandBoxPlus::eDefault: color = eYellow; break;
|
||||
case CSandBoxPlus::eAppBoxPlus: color = eCyan; break;
|
||||
case CSandBoxPlus::eAppBox: color = eGreen; break;
|
||||
case CSandBoxPlus::eInsecure: color = eMagenta; break;
|
||||
int iViewMode = theConf->GetInt("Options/ViewMode", 1);
|
||||
if (iViewMode != 2) {
|
||||
switch (boxType) {
|
||||
case CSandBoxPlus::eHardenedPlus: color = eRed; break;
|
||||
case CSandBoxPlus::eHardened: color = eOrang; break;
|
||||
case CSandBoxPlus::eDefaultPlus: color = eBlue; break;
|
||||
case CSandBoxPlus::eDefault: color = eYellow; break;
|
||||
case CSandBoxPlus::eAppBoxPlus: color = eCyan; break;
|
||||
case CSandBoxPlus::eAppBox: color = eGreen; break;
|
||||
case CSandBoxPlus::eInsecure: color = eMagenta; break;
|
||||
}
|
||||
}
|
||||
//if (inBusy)
|
||||
// return m_BoxIcons[color].Busy;
|
||||
|
|
|
@ -81,6 +81,6 @@ TRANSLATIONS += sandman_de.ts \
|
|||
sandman_uk.ts \
|
||||
sandman_zh_CN.ts \
|
||||
sandman_zh_TW.ts
|
||||
|
||||
|
||||
|
||||
RESOURCES += Resources/SandMan.qrc
|
||||
|
|
Loading…
Reference in New Issue