diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-05-29 11:05:35 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-05-29 11:05:35 +0000 |
commit | 212faea582979db2195c01ce884fe992a9478e58 (patch) | |
tree | 6fb3fab4d6a1499934746a420e8ca19ab981ad53 /packages/nunome/files/timer.patch | |
parent | b8c68ffd294ba82ae973a0af5e9166b846601b6c (diff) | |
parent | f82e817a6c920a9b9b1ee6308b64022915eb4947 (diff) |
merge of '7a8b58eb1559ce42d012bca6d3e376d7039ca042'
and '9cf7a02e468c0f4c9f50d118cdeb06565eeac2ea'
Diffstat (limited to 'packages/nunome/files/timer.patch')
-rw-r--r-- | packages/nunome/files/timer.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/nunome/files/timer.patch b/packages/nunome/files/timer.patch new file mode 100644 index 0000000000..ccd65647be --- /dev/null +++ b/packages/nunome/files/timer.patch @@ -0,0 +1,21 @@ +diff --git a/ui/nnmCanvas.cpp b/ui/nnmCanvas.cpp +index a548ddf..3b8e7d4 100755 +--- a/ui/nnmCanvas.cpp ++++ b/ui/nnmCanvas.cpp +@@ -35,7 +35,7 @@ + + nnmCanvas::nnmCanvas( QWidget *parent, int timeoutParam, int initID, + const char *name, WFlags f ) +- : QWidget( parent, name, f ) ++ : QWidget( parent, name, f ), timer(0) + { + setFixedSize( NnmCANVAS_DISPLAY_SIZE, NnmCANVAS_DISPLAY_SIZE ); + init(); +@@ -149,7 +149,7 @@ void nnmCanvas::resizeEvent( QResizeEvent *event ) + + void nnmCanvas::init( void ) + { +- if ( timeoutMsec > 0 && timer->isActive() ) { ++ if ( timeoutMsec > 0 && timer && timer->isActive() ) { + timer->stop(); + }
\ No newline at end of file |