[yast-commit] r47604 - in /trunk/qt: package/yast2-qt.changes src/YQDialog.cc
![](https://seccdn.libravatar.org/avatar/f850d49374387219fe79b9ca562f7803.jpg?s=120&d=mm&r=g)
Author: tgoettlicher Date: Fri May 16 11:52:32 2008 New Revision: 47604 URL: http://svn.opensuse.org/viewcvs/yast?rev=47604&view=rev Log: Fixed YUINoDialogException caused by popup windows Modified: trunk/qt/package/yast2-qt.changes trunk/qt/src/YQDialog.cc Modified: trunk/qt/package/yast2-qt.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=47604&r1=47603&r2=47604&view=diff ============================================================================== --- trunk/qt/package/yast2-qt.changes (original) +++ trunk/qt/package/yast2-qt.changes Fri May 16 11:52:32 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri May 16 11:45:04 CEST 2008 - tgoettlicher@suse.de + +- Fixed YUINoDialogException caused by popup windows + +------------------------------------------------------------------- Thu May 15 14:48:30 CEST 2008 - sh@suse.de - Moved most XPM icons and YQIconPool to yast2-qt-pkg: Modified: trunk/qt/src/YQDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQDialog.cc?rev=47604&r1=47603&r2=47604&view=diff ============================================================================== --- trunk/qt/src/YQDialog.cc (original) +++ trunk/qt/src/YQDialog.cc Fri May 16 11:52:32 2008 @@ -113,7 +113,11 @@ QWidget * parent = YQMainWinDock::mainWinDock()->window(); if ( dialogType == YPopupDialog) - parent = (QWidget *) YDialog::currentDialog()->widgetRep(); + { + YDialog * currentDialog = YDialog::currentDialog( false ); + if (currentDialog) + parent = (QWidget *) currentDialog->widgetRep(); + } if ( ( dialogType == YMainDialog || dialogType == YWizardDialog ) && YQMainWinDock::mainWinDock()->couldDock() ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn.opensuse.org