diff options
| author | 2017-06-23 19:25:49 -0400 | |
|---|---|---|
| committer | 2017-06-23 20:47:39 -0400 | |
| commit | 9f941253e5718e982dcab3fac8379cd8c31fa3ff (patch) | |
| tree | 31492fcda3913414a3c412e256337e6d8dcf89ba /src | |
| parent | Add menu-scrollable to the main Window menu (diff) | |
| download | KVIrc-9f941253e5718e982dcab3fac8379cd8c31fa3ff.tar.gz KVIrc-9f941253e5718e982dcab3fac8379cd8c31fa3ff.tar.bz2 KVIrc-9f941253e5718e982dcab3fac8379cd8c31fa3ff.zip | |
Fix centering of servers dialog in parent KviMainWindow
* Fixes #2158
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/options/OptionsWidgetContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/options/OptionsWidgetContainer.cpp b/src/modules/options/OptionsWidgetContainer.cpp index 04afa1040..2fa75fb7d 100644 --- a/src/modules/options/OptionsWidgetContainer.cpp +++ b/src/modules/options/OptionsWidgetContainer.cpp @@ -148,7 +148,7 @@ void OptionsWidgetContainer::showEvent(QShowEvent * e) move(rect.x() + ((rect.width() - width()) / 2), rect.y() + ((rect.height() - height()) / 2)); } - QWidget::showEvent(e); + QDialog::showEvent(e); m_pCancel->setFocus(); } |
