Ok, the "real" problem was the signal-slot binding. If i directly use
connect(v->selectionModel(), SIGNAL(currentChanged(const QModelIndex& , const QModelIndex&)), this, SLOT(changed(const QModelIndex& , const QModelIndex&)), Qt::QueuedConnection);
connect(v->selectionModel(), SIGNAL(currentChanged(const QModelIndex& , const QModelIndex&)), this, SLOT(changed(const QModelIndex& , const QModelIndex&)), Qt::QueuedConnection);
To copy to clipboard, switch view to plain text mode
all works as expected without the additional signal.
Bookmarks