Commit 23487eba authored by Patrick José Pereira's avatar Patrick José Pereira
Browse files

QGCComboBox: Use textActivated over deprecated activated(QString) in Qt 5.15



Signed-off-by: default avatarPatrick José Pereira <patrickelectric@gmail.com>
parent fa8c52da
......@@ -24,5 +24,9 @@ void QGCComboBox::simulateUserSetCurrentIndex(int index)
// We have to manually signal activated
emit activated(index);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
emit activated(itemText(index));
#else
emit textActivated(itemText(index));
#endif
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment