diff options
Diffstat (limited to 'libkpgp/kpgpui.cpp')
-rw-r--r-- | libkpgp/kpgpui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkpgp/kpgpui.cpp b/libkpgp/kpgpui.cpp index 5984c8764..eccc58e15 100644 --- a/libkpgp/kpgpui.cpp +++ b/libkpgp/kpgpui.cpp @@ -1660,7 +1660,7 @@ void CipherTextDialog::setMinimumSize() #if KDE_IS_VERSION( 3, 1, 90 ) - int maxWidth = KGlobalSettings::desktopGeometry(tqparentWidget()).width()-100; + int maxWidth = KGlobalSettings::desktopGeometry(parentWidget()).width()-100; #else KConfig gc("kdeglobals", false, false); gc.setGroup("Windows"); @@ -1668,7 +1668,7 @@ void CipherTextDialog::setMinimumSize() if (TQApplication::desktop()->isVirtualDesktop() && gc.readBoolEntry("XineramaEnabled", true) && gc.readBoolEntry("XineramaPlacementEnabled", true)) { - maxWidth = TQApplication::desktop()->screenGeometry(TQApplication::desktop()->screenNumber(tqparentWidget())).width()-100; + maxWidth = TQApplication::desktop()->screenGeometry(TQApplication::desktop()->screenNumber(parentWidget())).width()-100; } else { maxWidth = TQApplication::desktop()->tqgeometry().width()-100; } |