forked from qt-creator/qt-creator
Utils: Fix MSVC warning
icon.cpp(214): warning C5030: attribute [[__maybe_unused__]] is not recognized icon.cpp(214): warning C5222: '__maybe_unused__': all unscoped attribute names are reserved for future standardization Change-Id: I99e484a508965ef256b20286b3c3795220c4f748 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
460a5bbb56
commit
da957a5b1a
@@ -211,7 +211,7 @@ QIcon Icon::sideBarIcon(const Icon &classic, const Icon &flat)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QIcon Icon::modeIcon(const Icon &classic, const Icon &flat,
|
QIcon Icon::modeIcon(const Icon &classic, const Icon &flat,
|
||||||
[[__maybe_unused__]] const Icon &flatActive)
|
[[maybe_unused]] const Icon &flatActive)
|
||||||
{
|
{
|
||||||
QIcon result = sideBarIcon(classic, flat);
|
QIcon result = sideBarIcon(classic, flat);
|
||||||
return result;
|
return result;
|
||||||
|
Reference in New Issue
Block a user