mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
commit
e6a4869424
1 changed files with 6 additions and 0 deletions
|
@ -154,6 +154,12 @@ void audioDialog::refreshFileList() {
|
||||||
}
|
}
|
||||||
// For example in this path: '/mnt/onboard/onboard/music/' (with '/' at the end)
|
// For example in this path: '/mnt/onboard/onboard/music/' (with '/' at the end)
|
||||||
QString path = readFile(".config/e-2-audio/path").replace("\n", "");
|
QString path = readFile(".config/e-2-audio/path").replace("\n", "");
|
||||||
|
|
||||||
|
// Needed by GUI user apps
|
||||||
|
if(path.isEmpty()) {
|
||||||
|
path = "/mnt/onboard/onboard/music/";
|
||||||
|
}
|
||||||
|
|
||||||
log("Path for audio files: '" + path + "'", className);
|
log("Path for audio files: '" + path + "'", className);
|
||||||
QDir dir{path};
|
QDir dir{path};
|
||||||
// Other file formats could be added, by building more libraries
|
// Other file formats could be added, by building more libraries
|
||||||
|
|
Loading…
Reference in a new issue