| 214 | } |
| 215 | |
| 216 | void |
| 217 | Viewer::removeRepo() |
| 218 | { |
| 219 | QString current = this->ui.repoSelection->currentText(); |
| 220 | if( current != repoDetachedSelection) { |
| 221 | this->dataSource_->removeRepo( current); |
| 222 | this->ui.repoSelection->removeItem( this->ui.repoSelection->currentIndex()); |
| 223 | } |
| 224 | // Status bar is updated when the index change propagates. |
| 225 | } |
| 226 | |
| 227 | void |
| 228 | Viewer::scaleImage() |