Formatting
This commit is contained in:
@@ -94,8 +94,8 @@ class Organize : public QObject {
|
||||
private:
|
||||
struct Task {
|
||||
explicit Task(const NewSongInfo &song_info = NewSongInfo())
|
||||
: song_info_(song_info),
|
||||
transcode_progress_(0.0) {}
|
||||
: song_info_(song_info),
|
||||
transcode_progress_(0.0) {}
|
||||
|
||||
NewSongInfo song_info_;
|
||||
float transcode_progress_;
|
||||
|
||||
@@ -88,7 +88,7 @@ OrganizeDialog::OrganizeDialog(TaskManager *task_manager, CollectionBackend *bac
|
||||
|
||||
ui_->setupUi(this);
|
||||
|
||||
setWindowFlags(windowFlags()|Qt::WindowMaximizeButtonHint);
|
||||
setWindowFlags(windowFlags() | Qt::WindowMaximizeButtonHint);
|
||||
|
||||
QPushButton *button_save = ui_->button_box->addButton("Save settings", QDialogButtonBox::ApplyRole);
|
||||
QObject::connect(button_save, &QPushButton::clicked, this, &OrganizeDialog::SaveSettings);
|
||||
|
||||
@@ -196,7 +196,7 @@ QString OrganizeFormat::ParseBlock(QString block, const Song &song, bool *any_em
|
||||
// Find any blocks first
|
||||
qint64 pos = 0;
|
||||
QRegularExpressionMatch re_match;
|
||||
for (re_match = block_regexp.match(block, pos); re_match.hasMatch(); re_match = block_regexp.match(block, pos)) {
|
||||
for (re_match = block_regexp.match(block, pos); re_match.hasMatch(); re_match = block_regexp.match(block, pos)) {
|
||||
pos = re_match.capturedStart();
|
||||
// Recursively parse the block
|
||||
bool empty = false;
|
||||
|
||||
Reference in New Issue
Block a user