message: Sets minimum width of settings dialog to its toolbar's optimal width
diff: @@ -665,7 +665,6 @@ private:
  SettingsDialog::SettingsDialog(Index index, QWidget *parent)
  : QMainWindow(parent, Qt::Dialog)
  {
  - setMinimumWidth(500);
  setAttribute(Qt::WA_DeleteOnClose);
  setUnifiedTitleAndToolBarOnMac(true);
  setContextMenuPolicy(Qt::NoContextMenu);
  @@ -810,6 +809,8 @@ SettingsDialog::SettingsDialog(Index index, QWidget *parent)
  // Select the requested index.
  actions->actions().at(index)->trigger();
  +
  + setMinimumWidth(toolbar->sizeHint().width());
  }
  void SettingsDialog::openSharedInstance(Index index)
  