diff options
Diffstat (limited to 'src/kprocessorview.cpp')
-rwxr-xr-x | src/kprocessorview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kprocessorview.cpp b/src/kprocessorview.cpp index 717bfa2..81b90f1 100755 --- a/src/kprocessorview.cpp +++ b/src/kprocessorview.cpp @@ -125,7 +125,7 @@ void KProcessorView::slotItemRenamed( TQListViewItem * item ) value = item->text(1).toInt( &ok, base ) ; if ( !ok || value < 0 || value > 255 ) { - TQMessageBox::warning( tqparentWidget(), "Modify register", "Value should be between 0-255" ) ; + TQMessageBox::warning( parentWidget(), "Modify register", "Value should be between 0-255" ) ; view->rename( item, 1 ) ; } else { emit processorRegsChanged() ; @@ -137,7 +137,7 @@ void KProcessorView::slotItemRenamed( TQListViewItem * item ) if ( zeroFlag == item || carryFlag == item || ieFlag == item ) { value = item->text(1).toInt( &ok ) ; if ( !ok || value < 0 || value > 1 ) { - TQMessageBox::warning( tqparentWidget(), "Modify flag", "Value should be between 0-1" ) ; + TQMessageBox::warning( parentWidget(), "Modify flag", "Value should be between 0-1" ) ; } else emit processorFlagsChanged() ; } |