[companion] Default sdcard sync local folder to current profile (#1241)
Set the local folder to match that set in the profiles "SD structure path" setting
This commit is contained in:
@@ -75,6 +75,7 @@ class SyncProcess : public QObject
|
||||
int flags; // SyncOptionFlags
|
||||
int dirFilterFlags; // QDir::Filters
|
||||
int logLevel; // QtMsgType (see ProgressWidget::addMessage())
|
||||
int sessionId; // Last run radio profile
|
||||
|
||||
void reset()
|
||||
{
|
||||
@@ -86,6 +87,7 @@ class SyncProcess : public QObject
|
||||
logLevel = QtWarningMsg;
|
||||
flags = OPT_RECURSIVE;
|
||||
dirFilterFlags = QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot;
|
||||
sessionId = -1;
|
||||
}
|
||||
|
||||
friend inline QDebug operator<<(QDebug debug, const SyncOptions &o) {
|
||||
|
||||
Reference in New Issue
Block a user