Commit fdd06e1d authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port from deprecated QComboBox::autoCompletion -> QComboBox::completer

parent afe0adbd
...@@ -197,6 +197,7 @@ GrepDialog::GrepDialog(GrepViewPlugin *plugin, QWidget *parent, bool show) ...@@ -197,6 +197,7 @@ GrepDialog::GrepDialog(GrepViewPlugin *plugin, QWidget *parent, bool show)
patternCombo->addItems( cg.readEntry("LastSearchItems", QStringList()) ); patternCombo->addItems( cg.readEntry("LastSearchItems", QStringList()) );
patternCombo->setInsertPolicy(QComboBox::InsertAtTop); patternCombo->setInsertPolicy(QComboBox::InsertAtTop);
patternCombo->setCompleter(nullptr);
templateTypeCombo->addItems(template_desc()); templateTypeCombo->addItems(template_desc());
templateTypeCombo->setCurrentIndex( cg.readEntry("LastUsedTemplateIndex", 0) ); templateTypeCombo->setCurrentIndex( cg.readEntry("LastUsedTemplateIndex", 0) );
......
...@@ -61,9 +61,6 @@ p, li { white-space: pre-wrap; } ...@@ -61,9 +61,6 @@ p, li { white-space: pre-wrap; }
<property name="editable"> <property name="editable">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="autoCompletion">
<bool>false</bool>
</property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
......
Markdown is supported
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