From 261ba82130d9c624a3212ff0a6059bb97a4c2b51 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 12 Jan 2015 19:42:12 +0000 Subject: refactoring git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4690 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/fileloader_p.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/qmmpui/fileloader_p.h') diff --git a/src/qmmpui/fileloader_p.h b/src/qmmpui/fileloader_p.h index 66ce40ef0..11bc1a0bd 100644 --- a/src/qmmpui/fileloader_p.h +++ b/src/qmmpui/fileloader_p.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2012 by Ilya Kotov * + * Copyright (C) 2006-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -82,14 +82,12 @@ private: void addDirectory(const QString &s, PlayListItem *before = 0); bool checkRestrictFilters(const QFileInfo &info); bool checkExcludeFilters(const QFileInfo &info); - struct InsertItem + struct LoaderTask { - PlayListItem *before; QString path; - + PlayListItem *before; }; - QQueue m_paths; - QQueue m_insertItems; + QQueue m_tasks; QStringList m_filters; QmmpUiSettings *m_settings; bool m_finished; -- cgit v1.2.3-13-gbd6f