Dynamically set size of the settings dialog

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@155 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
sniperbeamer
2008-02-16 21:21:18 +00:00
parent e94a4244c3
commit 2149d4cfe1
2 changed files with 12 additions and 27 deletions

View File

@@ -162,6 +162,9 @@ CSettingsDlg::CSettingsDlg(QWidget* parent):QDialog(parent,Qt::Dialog)
Edit_GlobalShortcut->setShortcut(config->globalShortcut());
CheckBox_EntryTitlesMatch->setChecked(config->entryTitlesMatch());
#endif
adjustSize();
resize( size() + QSize(50,20) );
}
CSettingsDlg::~CSettingsDlg()