| 100 | } |
| 101 | |
| 102 | QString ProjectVcsPage::pluginName() const |
| 103 | { |
| 104 | int idx = m_ui->vcsTypes->currentIndex() - 1; |
| 105 | if ( idx < 0 || idx >= vcsPlugins.size()) |
| 106 | return QString(); |
| 107 | |
| 108 | // FIXME: Two return statements |
| 109 | return vcsPlugins[idx].first; |
| 110 | } |
| 111 | |
| 112 | |
| 113 | QString ProjectVcsPage::commitMessage() const |
no test coverage detected