Skip to content

Commit

Permalink
[flowplayer/src/playlist.cpp] Convert unused /home/nemo references,…
Browse files Browse the repository at this point in the history
… too

As discussed in issue #101.
  • Loading branch information
Olf0 authored Jul 4, 2024
1 parent d1df795 commit 09ea870
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/playlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@ void Playlist::addAlbumToList(QString artist, QString album, QString various)

void Playlist::saveList(QString list)
{
//qDebug() << "Saving playlist :" << list;
//qDebug() << "Saving playlist: " << list;

/*QString archivo;
archivo = "/home/nemo/.config/cepiperez/playlists/" + list + ".xml";
archivo = QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) + "/playlists/" + list + ".xml";
QFile file( archivo );
file.open( QIODevice::Truncate | QIODevice::Text | QIODevice::ReadWrite);
QTextStream out(&file);
Expand Down Expand Up @@ -352,7 +352,7 @@ void Playlist::clearList(QString list)
listado.clear();
//saveList(list);
/*QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
QString path("/home/nemo/.config/cepiperez/flowplayer.db");
QString path(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) + "/flowplayer.db");
db.setDatabaseName(path);
db.open();
Expand Down

0 comments on commit 09ea870

Please sign in to comment.