Qt: Drag and drop label text changed

The name was used instead of the filter

Change-Id: Id27d7ac45ecc9487183b33d56bea3f99290ce410
Reviewed-on: https://code.wireshark.org/review/35121
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
This commit is contained in:
Roland Knall 2019-11-17 23:37:45 +01:00
parent 8633ca6a88
commit c8b0968c77
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ bool ProtoTree::eventFilter(QObject * obj, QEvent * event)
QDrag * drag = new QDrag(this);
drag->setMimeData(mimeData);
QString lblTxt = QString("%1\n%2").arg(finfo.headerInfo().name, finfo.headerInfo().abbreviation);
QString lblTxt = QString("%1\n%2").arg(finfo.headerInfo().name, filter);
DragLabel * content = new DragLabel(lblTxt, this);