Editable QComboBox: synchonize edit text with item text
===

I've got a `QComboBox` which I want to be "automatically" editable. That is, every time a user manually changes current item's text, that text should "fall" to the underlying model automatically.

So far, I've reached this via a custom signal handler:

    void setupUi() {
        ...
        connect( someComboBox,
                 SIGNAL(editTextChanged(QString)),
                 SLOT(comboBoxEditTextChanged(QString)) );
        ...
    }

    void comboBoxEditTextChanged( const QString& text ) {
        someComboBox->setItemText( someComboBox->currentIndex(), text );
    }

So I wonder, is there a possibility to do this with less code? I've tried `QComboBox::setInsertPolicy(QComboBox::InsertAtCurrent)`, but that didn't help.