Formatting

This commit is contained in:
Jonas Kvinge
2021-07-11 09:49:38 +02:00
parent a6742d401c
commit e48b7d83a3
161 changed files with 370 additions and 369 deletions

View File

@@ -141,7 +141,7 @@ OrganizeDialog::OrganizeDialog(TaskManager *task_manager, CollectionBackend *bac
for (const QString &title : tag_titles) {
QAction *action = tag_menu->addAction(title);
QString tag = tags[title];
QObject::connect(action, &QAction::triggered, this, [this, tag]() { InsertTag(tag); } );
QObject::connect(action, &QAction::triggered, this, [this, tag]() { InsertTag(tag); });
}
ui_->insert->setMenu(tag_menu);
@@ -222,7 +222,7 @@ void OrganizeDialog::LoadGeometry() {
}
if (parentwindow_) {
// Center the window on the same screen as the parentwindow.
// Center the window on the same screen as the parentwindow.
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
QScreen *screen = parentwindow_->screen();
#else