From f76b42f192a82f777cf77f3eecfab9ca7e31e396 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 8 Jul 2014 08:13:30 +0200 Subject: Display unpack output in Dialog This was a difficult one. Got lost in the Semantics of QThread once again, but just 2 days later it works :) --- mappingtreewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mappingtreewidget.cpp') diff --git a/mappingtreewidget.cpp b/mappingtreewidget.cpp index be0c5a5..26f1b53 100644 --- a/mappingtreewidget.cpp +++ b/mappingtreewidget.cpp @@ -329,7 +329,7 @@ void MappingEditWidget::removeMapping(){ if(sel.isEmpty()){ return; } - QPersistentModelIndex firstIdx = sel.first(); + QModelIndex firstIdx = sel.first(); if(firstIdx.isValid()){ mResultModel->removeRows(firstIdx.row(), 1, firstIdx.parent()); } -- cgit v1.2.3-70-g09d2