aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/fileloader_p.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-01-12 19:42:12 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-01-12 19:42:12 +0000
commit261ba82130d9c624a3212ff0a6059bb97a4c2b51 (patch)
treec0d5d28dcd326e181b430dd394ab44468694a942 /src/qmmpui/fileloader_p.h
parentc1f385ae6136ebb0f2d75f5cc83e97610de0fc63 (diff)
downloadqmmp-261ba82130d9c624a3212ff0a6059bb97a4c2b51.tar.gz
qmmp-261ba82130d9c624a3212ff0a6059bb97a4c2b51.tar.bz2
qmmp-261ba82130d9c624a3212ff0a6059bb97a4c2b51.zip
refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4690 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/fileloader_p.h')
-rw-r--r--src/qmmpui/fileloader_p.h10
1 files changed, 4 insertions, 6 deletions
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 <QString> m_paths;
- QQueue <InsertItem> m_insertItems;
+ QQueue <LoaderTask> m_tasks;
QStringList m_filters;
QmmpUiSettings *m_settings;
bool m_finished;