rem: virtual void dismiss() {}
add: void GeneralPage::dismiss() { QListViewItem *tmp; while ( currentPlugItem && currentPlugItem->text(0).isEmpty() && currentPlugItem->text(1).isEmpty() && currentPlugItem->text(2).isEmpty() ) { tmp = currentPlugItem; if ( currentPlugItem->itemBelow() ) currentPlugItem = currentPlugItem->itemBelow(); else if ( currentPlugItem->itemAbove() ) currentPlugItem = currentPlugItem->itemAbove(); else currentPlugItem = 0; delete tmp; } if ( currentPlugItem == 0 ) { plugNameEdit->setEnabled( false ); plugLocationRequester->setEnabled( false ); plugUpdateURLEdit->setEnabled( false ); } }
context:   virtual void dismiss() {}