ti-ocf-crypto-module: add crypto module for hw accel
[openembedded.git] / recipes / nunome / files / timer.patch
blobccd65647be53282845db4936ad0951f0c4c8088d
1 diff --git a/ui/nnmCanvas.cpp b/ui/nnmCanvas.cpp
2 index a548ddf..3b8e7d4 100755
3 --- a/ui/nnmCanvas.cpp
4 +++ b/ui/nnmCanvas.cpp
5 @@ -35,7 +35,7 @@
7 nnmCanvas::nnmCanvas( QWidget *parent, int timeoutParam, int initID,
8 const char *name, WFlags f )
9 - : QWidget( parent, name, f )
10 + : QWidget( parent, name, f ), timer(0)
12 setFixedSize( NnmCANVAS_DISPLAY_SIZE, NnmCANVAS_DISPLAY_SIZE );
13 init();
14 @@ -149,7 +149,7 @@ void nnmCanvas::resizeEvent( QResizeEvent *event )
16 void nnmCanvas::init( void )
18 - if ( timeoutMsec > 0 && timer->isActive() ) {
19 + if ( timeoutMsec > 0 && timer && timer->isActive() ) {
20 timer->stop();