Changeset 146 for trunk/orca/qt/qorca.cpp
- Timestamp:
- 05/11/06 17:36:18 (3 years ago)
- Files:
-
- 1 modified
-
trunk/orca/qt/qorca.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/qt/qorca.cpp
r144 r146 683 683 684 684 685 static int catchExit( )685 static int catchExit( OValue* a1 ) 686 686 { 687 687 if( orErrorThrown && orErrorIsType( OR_ERROR_THROW ) ) … … 689 689 if( orErrorThrown->error.msg == qEnv.atom_exec_exit ) 690 690 { 691 orCopyV( orTOS, *(orErrorThrown + 1) );691 orCopyV( a1, *(orErrorThrown + 1) ); 692 692 orErrorClear; 693 693 return qEnv.atom_exec_exit; … … 695 695 else if( orErrorThrown->error.msg == qEnv.atom_close ) 696 696 { 697 orCopyV( orTOS, *(orErrorThrown + 1) );697 orCopyV( a1, *(orErrorThrown + 1) ); 698 698 orErrorClear; 699 699 return qEnv.atom_close; … … 719 719 qEnv.dialog = saveDialog; 720 720 721 catchExit( );721 catchExit( a1 ); 722 722 } 723 723 else if( rec->type == WT_Widget ) … … 727 727 widget->show(); 728 728 qEnv.loop->exec(); 729 if( catchExit( ) == qEnv.atom_close )729 if( catchExit( a1 ) == qEnv.atom_close ) 730 730 widget->hide(); 731 731 } … … 745 745 // Update. 746 746 qEnv.loop->processEvents(); 747 catchExit( );747 catchExit( a1 ); 748 748 } 749 749 } … … 796 796 // Update. 797 797 qEnv.loop->processEvents(); 798 catchExit( );798 catchExit( a1 ); 799 799 } 800 800 }
