From e7a02ec7fee6fee4eaa04a31f53120c62caccbda Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 6 Jan 2019 15:51:22 +0000 Subject: optimization git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8588 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/uihelper.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/qmmpui/uihelper.cpp') diff --git a/src/qmmpui/uihelper.cpp b/src/qmmpui/uihelper.cpp index 6f3a37415..a6029621e 100644 --- a/src/qmmpui/uihelper.cpp +++ b/src/qmmpui/uihelper.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2018 by Ilya Kotov * + * Copyright (C) 2008-2019 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -59,8 +59,7 @@ UiHelper::~UiHelper() bool UiHelper::visibilityControl() { - GeneralFactory* factory; - foreach(factory, General::enabledFactories()) + foreach(GeneralFactory *factory, General::enabledFactories()) { if (factory->properties().visibilityControl) return true; -- cgit v1.2.3-13-gbd6f