diff options
| author | 2008-10-06 09:01:39 +0000 | |
|---|---|---|
| committer | 2008-10-06 09:01:39 +0000 | |
| commit | e28605ac6addc6b71166374e548df20ac573a899 (patch) | |
| tree | da05df995844bac68f0bd3414fae4b318d006b12 /src/modules/toolbareditor | |
| parent | some work on the statusbar (far from being complete) (diff) | |
| download | KVIrc-e28605ac6addc6b71166374e548df20ac573a899.tar.gz KVIrc-e28605ac6addc6b71166374e548df20ac573a899.tar.bz2 KVIrc-e28605ac6addc6b71166374e548df20ac573a899.zip | |
hopefully fixed all the dual-screen setup dialog centering problems
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2660 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/toolbareditor')
| -rw-r--r-- | src/modules/toolbareditor/toolbareditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/toolbareditor/toolbareditor.cpp b/src/modules/toolbareditor/toolbareditor.cpp index bf39042e2..02d6a8b8e 100644 --- a/src/modules/toolbareditor/toolbareditor.cpp +++ b/src/modules/toolbareditor/toolbareditor.cpp @@ -368,7 +368,7 @@ void KviCustomizeToolBarsDialog::currentToolBarChanged() void KviCustomizeToolBarsDialog::showEvent(QShowEvent * e) { // repaintContents(); -// QRect r = parentWidget() ? parentWidget()->rect() : QApplication::desktop()->rect(); +// QRect r = parentWidget() ? parentWidget()->rect() : QApplication::desktop() SCREEEN ->rect(); // int x = (r.width() - width()) / 2; // int y = (r.height() - height()) / 2; // move(x,y); |
