mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +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()) {
|
foreach(QModelIndex index, ui->modelsList->selectionModel()->selectedIndexes()) {
|
||||||
if (index.column() == 0) {
|
if (index.column() == 0) {
|
||||||
unsigned int modelIndex = modelsListModel->getModelIndex(index);
|
int modelIndex = modelsListModel->getModelIndex(index);
|
||||||
if (modelIndex >= 0) {
|
if (modelIndex >= 0) {
|
||||||
gmData->append('M');
|
gmData->append('M');
|
||||||
gmData->append((char *) &radioData.models[modelIndex], sizeof(ModelData));
|
gmData->append((char *) &radioData.models[modelIndex], sizeof(ModelData));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue