Diffstat (limited to 'noncore/net/wellenreiter/gui/packetview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/packetview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/packetview.cpp b/noncore/net/wellenreiter/gui/packetview.cpp index 3d3aa18..4df01da 100644 --- a/noncore/net/wellenreiter/gui/packetview.cpp +++ b/noncore/net/wellenreiter/gui/packetview.cpp | |||
@@ -75,25 +75,25 @@ void PacketView::showPacket( int number ) | |||
75 | { | 75 | { |
76 | _list->clear(); | 76 | _list->clear(); |
77 | _hex->setText(""); | 77 | _hex->setText(""); |
78 | const OPacket* p = _packets.at( number ); | 78 | const OPacket* p = _packets.at( number ); |
79 | 79 | ||
80 | if ( p ) | 80 | if ( p ) |
81 | { | 81 | { |
82 | _doSubPackets( const_cast<QObjectList*>( p->children() ), 0 ); | 82 | _doSubPackets( const_cast<QObjectList*>( p->children() ), 0 ); |
83 | _doHexPacket( p ); | 83 | _doHexPacket( p ); |
84 | } | 84 | } |
85 | else | 85 | else |
86 | { | 86 | { |
87 | qDebug( "D'oh! No packet!" ); | 87 | odebug << "D'oh! No packet!" << oendl; |
88 | } | 88 | } |
89 | } | 89 | } |
90 | 90 | ||
91 | void PacketView::_doSubPackets( QObjectList* l, int counter ) | 91 | void PacketView::_doSubPackets( QObjectList* l, int counter ) |
92 | { | 92 | { |
93 | if (!l) return; | 93 | if (!l) return; |
94 | QObject* o = l->first(); | 94 | QObject* o = l->first(); |
95 | while ( o ) | 95 | while ( o ) |
96 | { | 96 | { |
97 | new OListViewItem( _list, QString::number( counter++ ), o->name() ); | 97 | new OListViewItem( _list, QString::number( counter++ ), o->name() ); |
98 | _doSubPackets( const_cast<QObjectList*>( o->children() ), counter ); | 98 | _doSubPackets( const_cast<QObjectList*>( o->children() ), counter ); |
99 | o = l->next(); | 99 | o = l->next(); |