Commit 6a755cbc authored by Graham Littlewood's avatar Graham Littlewood
Browse files

Fix code format for directory file adding

parent b2056f31
......@@ -25,6 +25,8 @@
#include <QRandomGenerator>
#include <QFile>
#include <QFileInfo>
#include <QDir>
#include <QMimeDatabase>
#include <algorithm>
......
......@@ -24,8 +24,6 @@
#include <QAbstractProxyModel>
#include <QMediaPlayer>
#include <QDir>
#include <QMimeDatabase>
#include <memory>
......
......@@ -154,7 +154,7 @@ FocusScope {
showEnqueueButton: !model.isPlaylist
showPlayButton: true
onEnqueue: isDirectory? elisa.mediaPlayListProxyModel.enqueueDirectory(url, ElisaUtils.FileName, ElisaUtils.AppendPlayList, ElisaUtils.DoNotTriggerPlay, 5) : elisa.mediaPlayListProxyModel.enqueue(url, ElisaUtils.FileName, ElisaUtils.AppendPlayList, ElisaUtils.DoNotTriggerPlay)
onEnqueue: isDirectory ? elisa.mediaPlayListProxyModel.enqueueDirectory(url, ElisaUtils.FileName, ElisaUtils.AppendPlayList, ElisaUtils.DoNotTriggerPlay, 5) : elisa.mediaPlayListProxyModel.enqueue(url, ElisaUtils.FileName, ElisaUtils.AppendPlayList, ElisaUtils.DoNotTriggerPlay)
onReplaceAndPlay: {
if (model.isDirectory) {
elisa.mediaPlayListProxyModel.enqueueDirectory(url, ElisaUtils.FileName, ElisaUtils.ReplacePlayList, ElisaUtils.TriggerPlay, 5)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment