Android: Pass some values by reference

Change-Id: Ic12452320728b161afd2907deb036d0c6d9df644
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
Orgad Shaneh
2014-05-19 23:31:01 +03:00
committed by Orgad Shaneh
parent 772c2caac9
commit 85ed66bae9
4 changed files with 15 additions and 9 deletions

View File

@@ -603,7 +603,7 @@ void AndroidSettingsWidget::startAVD()
m_androidConfig.startAVDAsync(m_AVDModel.avdName(m_ui->AVDTableView->currentIndex()));
}
void AndroidSettingsWidget::avdActivated(QModelIndex index)
void AndroidSettingsWidget::avdActivated(const QModelIndex &index)
{
m_ui->AVDRemovePushButton->setEnabled(index.isValid());
m_ui->AVDStartPushButton->setEnabled(index.isValid());