mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Fixed several issues detected during testing / review (refs #304)
* MS report 1-5 https://dev.vatsim-germany.org/issues/304#change-1800 * Clang warning https://dev.vatsim-germany.org/boards/22/topics/1982?r=1997#message-1997 * Wrong indexes for dockable widgets, RW: https://dev.vatsim-germany.org/issues/304#note-13 * Fixed wrong offset in Fsuipc class * Improved position handling for floating widgets opened 1st time
This commit is contained in:
@@ -154,7 +154,7 @@ namespace BlackMisc
|
||||
case IndexIcon:
|
||||
if (variant.canConvert<int>())
|
||||
{
|
||||
CIcons::IconIndexes index = static_cast<CIcons::IconIndexes>(variant.toInt());
|
||||
CIcons::IconIndex index = static_cast<CIcons::IconIndex>(variant.toInt());
|
||||
this->m_icon = CIconList::iconForIndex(index);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user