Don't show the 'approved' flag by default in the GUI, most users will only ever see approved add-ons. Instead show a 'NON-APPROVED' flag in artist debug mode when relevant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -98,8 +98,8 @@ void AddonsLoading::beforeAddingWidgets()
|
||||
{
|
||||
// In non artist-debug-mode only approved items will be shown anyway,
|
||||
// but give even tester an idea about the status:
|
||||
if(m_addon.testStatus(Addon::AS_APPROVED))
|
||||
l.push_back("approved");
|
||||
if (!m_addon.testStatus(Addon::AS_APPROVED))
|
||||
l.push_back("NOT APPROVED");
|
||||
|
||||
// Note that an approved addon should never have alpha, beta, or
|
||||
// RC status - and only one of those should be used
|
||||
|
||||
Reference in New Issue
Block a user