mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
[Companion] clang warning fixed
This commit is contained in:
parent
7e0c461740
commit
0ff8ed35b9
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ void MdiChild::doCopy(QByteArray * gmData)
|
|||
{
|
||||
foreach(QModelIndex index, ui->modelsList->selectionModel()->selectedIndexes()) {
|
||||
if (index.column() == 0) {
|
||||
unsigned int modelIndex = modelsListModel->getModelIndex(index);
|
||||
int modelIndex = modelsListModel->getModelIndex(index);
|
||||
if (modelIndex >= 0) {
|
||||
gmData->append('M');
|
||||
gmData->append((char *) &radioData.models[modelIndex], sizeof(ModelData));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue