Hello community, here is the log from the commit of package yast2-qt checked in at Fri May 16 15:16:26 CEST 2008. -------- --- yast2-qt/yast2-qt.changes 2008-05-15 14:50:16.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-qt/yast2-qt.changes 2008-05-16 14:00:43.000000000 +0200 @@ -1,0 +2,6 @@ +Fri May 16 13:58:11 CEST 2008 - tgoettlicher@suse.de + +- Fixed YUINoDialogException caused by popup windows +- V 2.16.48 + +------------------------------------------------------------------- Old: ---- yast2-qt-2.16.47.tar.bz2 New: ---- yast2-qt-2.16.48.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-qt.spec ++++++ --- /var/tmp/diff_new_pack.h18948/_old 2008-05-16 15:15:42.000000000 +0200 +++ /var/tmp/diff_new_pack.h18948/_new 2008-05-16 15:15:42.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-qt (Version 2.16.47) +# spec file for package yast2-qt (Version 2.16.48) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,12 +11,12 @@ Name: yast2-qt -Version: 2.16.47 +Version: 2.16.48 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-qt-2.16.47.tar.bz2 +Source0: yast2-qt-2.16.48.tar.bz2 BuildRequires: docbook-xsl-stylesheets BuildRequires: doxygen BuildRequires: libdrm-devel @@ -112,6 +112,9 @@ %_includedir/* %changelog +* Fri May 16 2008 tgoettlicher@suse.de +- Fixed YUINoDialogException caused by popup windows +- V 2.16.48 * Thu May 15 2008 sh@suse.de - Moved most XPM icons and YQIconPool to yast2-qt-pkg: They are only needed for PackageSelector and related ++++++ yast2-qt-2.16.47.tar.bz2 -> yast2-qt-2.16.48.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.16.47/package/yast2-qt.changes new/yast2-qt-2.16.48/package/yast2-qt.changes --- old/yast2-qt-2.16.47/package/yast2-qt.changes 2008-05-15 14:49:38.000000000 +0200 +++ new/yast2-qt-2.16.48/package/yast2-qt.changes 2008-05-16 14:00:16.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri May 16 13:58:11 CEST 2008 - tgoettlicher@suse.de + +- Fixed YUINoDialogException caused by popup windows +- V 2.16.48 + +------------------------------------------------------------------- Thu May 15 14:48:30 CEST 2008 - sh@suse.de - Moved most XPM icons and YQIconPool to yast2-qt-pkg: diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.16.47/src/YQDialog.cc new/yast2-qt-2.16.48/src/YQDialog.cc --- old/yast2-qt-2.16.47/src/YQDialog.cc 2008-05-15 14:49:38.000000000 +0200 +++ new/yast2-qt-2.16.48/src/YQDialog.cc 2008-05-16 14:00:16.000000000 +0200 @@ -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() ) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.16.47/src/YQTimezoneSelector.cc new/yast2-qt-2.16.48/src/YQTimezoneSelector.cc --- old/yast2-qt-2.16.47/src/YQTimezoneSelector.cc 2008-05-15 14:49:38.000000000 +0200 +++ new/yast2-qt-2.16.48/src/YQTimezoneSelector.cc 2008-05-16 14:00:16.000000000 +0200 @@ -1,4 +1,4 @@ -/*---------------------------------------------------------------------\ + /*---------------------------------------------------------------------\ | | | __ __ ____ _____ ____ | | \ \ / /_ _/ ___|_ _|___ \ | @@ -231,10 +231,10 @@ { if ( d->cachePix.isNull() ) { - QImage t = d->_pix.scaled( width(), height() ); + QImage t = d->_pix.scaled( width(), height(), Qt::KeepAspectRatio ); d->cachePix = QPixmap::fromImage( t ); } - p.drawPixmap( 0, 0, d->cachePix ); + p.drawPixmap( ( width() - d->cachePix.width() ) / 2, ( height() - d->cachePix.height() ) / 2, d->cachePix ); setCursor( QCursor( QPixmap( zoom_in ) ) ); } else { @@ -331,8 +331,8 @@ { if ( _zoom.isNull() ) { - return QPoint( (int) ( double( pos.x() ) * parent->width() / _pix.width() ), - (int) ( double( pos.y() ) * parent->height() / _pix.height() ) ); + return QPoint( (int) ( double( pos.x() ) * cachePix.width() / _pix.width() ) + ( parent->width() - cachePix.width() ) / 2, + (int) ( double( pos.y() ) * cachePix.height() / _pix.height() ) + ( parent->height() - cachePix.height() ) /2 ); } int left = qMin( qMax( _zoom.x() - parent->width() / 2, 0 ), _pix.width() - parent->width() ); int top = qMin( qMax( _zoom.y() - parent->height() / 2, 0 ), _pix.height() - parent->height() ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.16.47/VERSION.cmake new/yast2-qt-2.16.48/VERSION.cmake --- old/yast2-qt-2.16.47/VERSION.cmake 2008-05-15 14:49:38.000000000 +0200 +++ new/yast2-qt-2.16.48/VERSION.cmake 2008-05-16 14:00:16.000000000 +0200 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "16") -SET(VERSION_PATCH "47") +SET(VERSION_PATCH "48") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org