Disabled displaying country flags for languages. Prevents #7517.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41630 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -63,6 +63,9 @@ public:
|
|||||||
BStringItem(label),
|
BStringItem(label),
|
||||||
fLanguage(language)
|
fLanguage(language)
|
||||||
{
|
{
|
||||||
|
// Don't use *country* flags for *languages*. Can be re-enabled and adjusted
|
||||||
|
// accordingly once we have language icons.
|
||||||
|
#if 0
|
||||||
fIcon = new(std::nothrow) BBitmap(BRect(0, 0, 15, 15), B_RGBA32);
|
fIcon = new(std::nothrow) BBitmap(BRect(0, 0, 15, 15), B_RGBA32);
|
||||||
if (fIcon != NULL
|
if (fIcon != NULL
|
||||||
&& (!fIcon->IsValid()
|
&& (!fIcon->IsValid()
|
||||||
@@ -71,6 +74,9 @@ public:
|
|||||||
delete fIcon;
|
delete fIcon;
|
||||||
fIcon = NULL;
|
fIcon = NULL;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
fIcon = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
~LanguageItem()
|
~LanguageItem()
|
||||||
|
|||||||
Reference in New Issue
Block a user