| 69 | |
| 70 | |
| 71 | Repository::Commit CommitSelectionComboBox::currentCommit() |
| 72 | // ---------------------------------------------------------------------------- |
| 73 | // The currently selected commit |
| 74 | // ---------------------------------------------------------------------------- |
| 75 | { |
| 76 | int index = currentIndex(); |
| 77 | Repository::Commit commit = itemData(index).value<Repository::Commit>(); |
| 78 | return commit; |
| 79 | } |
| 80 | |
| 81 | |
| 82 | void CommitSelectionComboBox::setMode(unsigned int mode) |