Mailinglist Archive: yast-commit (747 mails)

< Previous Next >
[yast-commit] r39375 - /branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Thu, 12 Jul 2007 16:50:48 -0000
  • Message-id: <20070712165048.9ABFBB2472@xxxxxxxxxxxxxxxx>
Author: sh-sh-sh
Date: Thu Jul 12 18:50:48 2007
New Revision: 39375

URL: http://svn.opensuse.org/viewcvs/yast?rev=39375&view=rev
Log:
check for new() failure

Modified:
    branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc

Modified: branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc?rev=39375&r1=39374&r2=39375&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc (original)
+++ branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc Thu Jul 12 18:50:48 2007
@@ -50,8 +50,12 @@
     setSpacing( YQWidgetSpacing );
     setMargin ( YQWidgetMargin  );
 
-    _caption    = new YQWidgetCaption( this, label );
+    _caption = new YQWidgetCaption( this, label );
+    YUI_CHECK_NEW( _caption );
+    
     _qt_listBox = new QListBox( this );
+    YUI_CHECK_NEW( _qt_listBox );
+    
     _qt_listBox->installEventFilter( this );
     _qt_listBox->setVariableHeight( false );
     _qt_listBox->setSizePolicy( QSizePolicy( QSizePolicy::Expanding,

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

< Previous Next >
This Thread
  • No further messages