Mailinglist Archive: yast-commit (1056 mails)

< Previous Next >
[yast-commit] r44964 - /trunk/qt/src/YQDialog.cc
  • From: coolo@xxxxxxxxxxxxxxxx
  • Date: Sat, 23 Feb 2008 09:47:55 -0000
  • Message-id: <20080223094755.E9FA036A6F@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Sat Feb 23 10:47:54 2008
New Revision: 44964

URL: http://svn.opensuse.org/viewcvs/yast?rev=44964&view=rev
Log:
the fix tgoettlicher and me hacked in the plane to
make popups behave

Modified:
trunk/qt/src/YQDialog.cc

Modified: trunk/qt/src/YQDialog.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQDialog.cc?rev=44964&r1=44963&r2=44964&view=diff
==============================================================================
--- trunk/qt/src/YQDialog.cc (original)
+++ trunk/qt/src/YQDialog.cc Sat Feb 23 10:47:54 2008
@@ -83,7 +83,7 @@
if ( dialogType != YMainDialog )
setWindowModality( Qt::ApplicationModal );

- if ( QWidget::parent() == YQMainWinDock::mainWinDock() )
+ if ( dialogType == YMainDialog && QWidget::parent() ==
YQMainWinDock::mainWinDock() )
{
YQMainWinDock::mainWinDock()->add( this );
}
@@ -106,7 +106,7 @@
QWidget *
YQDialog::chooseParent( YDialogType dialogType )
{
- QWidget * parent = 0;
+ QWidget * parent = YQMainWinDock::mainWinDock()->window();

if ( dialogType == YMainDialog &&
YQMainWinDock::mainWinDock()->couldDock() )

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages