28 addItem(QIcon(),
"(none)", QVariant::fromValue<void*>(
nullptr));
37 setInsertPolicy(QComboBox::NoInsert);
38 setCompleter(
new QCompleter(
names,
this));
39 completer()->setFilterMode(Qt::MatchContains);
40 completer()->setCaseSensitivity(Qt::CaseInsensitive);
49 setCurrentIndex(findData(QVariant::fromValue(
static_cast<void*
>(
const_cast<quest_definition *
>(
quest)))));