mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Removed deprecated funtions and changed code to use new functions
This commit is contained in:
committed by
Mathew Sutcliffe
parent
bac77e233d
commit
9eff387207
@@ -287,11 +287,11 @@ namespace BlackMisc
|
||||
{
|
||||
switch (severity)
|
||||
{
|
||||
case SeverityDebug: return CIconList::iconByIndex(CIcons::StandardIconUnknown16); // TODO
|
||||
case SeverityInfo: return CIconList::iconByIndex(CIcons::StandardIconInfo16);
|
||||
case SeverityWarning: return CIconList::iconByIndex(CIcons::StandardIconWarning16);
|
||||
case SeverityError: return CIconList::iconByIndex(CIcons::StandardIconError16);
|
||||
default: return CIconList::iconByIndex(CIcons::StandardIconInfo16);
|
||||
case SeverityDebug: return CIcon::iconByIndex(CIcons::StandardIconUnknown16); // TODO
|
||||
case SeverityInfo: return CIcon::iconByIndex(CIcons::StandardIconInfo16);
|
||||
case SeverityWarning: return CIcon::iconByIndex(CIcons::StandardIconWarning16);
|
||||
case SeverityError: return CIcon::iconByIndex(CIcons::StandardIconError16);
|
||||
default: return CIcon::iconByIndex(CIcons::StandardIconInfo16);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user