message: Pass window flags in constructor
diff: @@ -663,9 +663,8 @@ private:
  } // anon. namespace
  SettingsDialog::SettingsDialog(Index index, QWidget *parent)
  - : QMainWindow(parent)
  + : QMainWindow(parent, Qt::Dialog)
  {
  - setWindowFlag(Qt::Dialog);
  setMinimumWidth(500);
  setAttribute(Qt::WA_DeleteOnClose);
  setUnifiedTitleAndToolBarOnMac(true);
  