diff options
Diffstat (limited to 'src/qmmpui/uihelper.cpp')
| -rw-r--r-- | src/qmmpui/uihelper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmpui/uihelper.cpp b/src/qmmpui/uihelper.cpp index e2984619f..48d827618 100644 --- a/src/qmmpui/uihelper.cpp +++ b/src/qmmpui/uihelper.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -57,9 +57,9 @@ UiHelper::~UiHelper() bool UiHelper::visibilityControl() { GeneralFactory* factory; - foreach(factory, *General::factories()) + foreach(factory, General::enabledFactories()) { - if (General::isEnabled(factory) && factory->properties().visibilityControl) + if (factory->properties().visibilityControl) return true; } return false; |
