Index: debugger/QT/SkListWidget.cpp |
diff --git a/debugger/QT/SkListWidget.cpp b/debugger/QT/SkListWidget.cpp |
index b5f9038d6921310e5ff17083647592e84128a8d3..a0277784730a07463312cbc5f8d87e87c192be2d 100644 |
--- a/debugger/QT/SkListWidget.cpp |
+++ b/debugger/QT/SkListWidget.cpp |
@@ -61,11 +61,7 @@ void SkListWidget::paint (QPainter *painter, |
QString drawCommandText = index.data(Qt::DisplayRole).toString(); |
QString drawCommandNumber; |
- if (kIndex_IndexStyle == fIndexStyle) { |
- drawCommandNumber = index.data(Qt::UserRole + 1).toString(); |
- } else { |
- drawCommandNumber = index.data(Qt::UserRole + 5).toString(); |
- } |
+ drawCommandNumber = index.data(Qt::UserRole + 1).toString(); |
float time = index.data(Qt::UserRole + 4).toFloat(); |
QString drawTime; |
drawTime.setNum(time, 'f', 2); |