[yast-commit] r51761 - in /trunk/qt: package/yast2-qt.changes src/YQUI.cc
Author: tgoettlicher Date: Wed Oct 1 16:32:27 2008 New Revision: 51761 URL: http://svn.opensuse.org/viewcvs/yast?rev=51761&view=rev Log: Write message to log when client is killed due to X server crash (bnc #414292) Modified: trunk/qt/package/yast2-qt.changes trunk/qt/src/YQUI.cc Modified: trunk/qt/package/yast2-qt.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=51761&r1=51760&r2=51761&view=diff ============================================================================== --- trunk/qt/package/yast2-qt.changes (original) +++ trunk/qt/package/yast2-qt.changes Wed Oct 1 16:32:27 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Oct 1 16:12:26 CEST 2008 - tgoettlicher@suse.de + +- Write message to log when client is killed due to X server crash + bnc #414292 + +------------------------------------------------------------------- Tue Sep 30 16:05:58 CEST 2008 - sh@suse.de - Move keyboard focus to default button (if there is one) when Modified: trunk/qt/src/YQUI.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQUI.cc?rev=51761&r1=51760&r2=51761&view=diff ============================================================================== --- trunk/qt/src/YQUI.cc (original) +++ trunk/qt/src/YQUI.cc Wed Oct 1 16:32:27 2008 @@ -724,6 +724,10 @@ abort(); exit(1); // Qt does the same } + + if ( QString( msg ).contains( "Fatal IO error", Qt::CaseInsensitive ) && + QString( msg ).contains( "client killed", Qt::CaseInsensitive ) ) + yuiError() << "Client killed. Possibly caused by X server shutdown or crash." << endl; } -- 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