diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-05-13 14:27:34 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-05-13 14:27:34 +0000 |
| commit | d26972aaac0fa0ec67b9958a79eff90e09d3df30 (patch) | |
| tree | ad9034cd5b27192fdd33a70fce17a0bbd209f26a /src/qmmpui/uihelper.cpp | |
| parent | 1d01bb37fb8379ea2e155bcd1af651d354cfc9c9 (diff) | |
| download | qmmp-d26972aaac0fa0ec67b9958a79eff90e09d3df30.tar.gz qmmp-d26972aaac0fa0ec67b9958a79eff90e09d3df30.tar.bz2 qmmp-d26972aaac0fa0ec67b9958a79eff90e09d3df30.zip | |
added cache for general plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3464 90c681e8-e032-0410-971d-27865f9a5e38
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; |
