Add debug as to what folder is being listed.

This commit is contained in:
Craig Drummond
2016-01-02 09:35:46 +00:00
committed by Craig Drummond
parent 8fdffa7f6a
commit c2ee7f399e

View File

@@ -1551,6 +1551,7 @@ void MPDConnection::loadLibrary()
void MPDConnection::listFolder(const QString &folder)
{
DBUG << "listFolder" << folder;
bool topLevel="/"==folder || ""==folder;
Response response=sendCommand(topLevel ? "lsinfo" : ("lsinfo "+encodeName(folder)));
QStringList subFolders;