Cleanups. Delete+Move works now.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "DirectoryNode.h"
|
||||
#include "globals.h"
|
||||
|
||||
DirectoryNode::DirectoryNode(const String &nodeName)
|
||||
: name(nodeName), currentPlaying(nullptr)
|
||||
@@ -465,7 +466,7 @@ String DirectoryNode::getCurrentPlayingFilePath() const
|
||||
{
|
||||
if (currentPlaying != nullptr)
|
||||
{
|
||||
String filePath = "/" + name;
|
||||
String filePath = name;
|
||||
if (!filePath.endsWith("/"))
|
||||
{
|
||||
filePath += "/";
|
||||
|
||||
Reference in New Issue
Block a user