equal
deleted
inserted
replaced
188 const QModelIndex & current, |
188 const QModelIndex & current, |
189 const QModelIndex & previous ) |
189 const QModelIndex & previous ) |
190 { |
190 { |
191 Q_UNUSED(previous); |
191 Q_UNUSED(previous); |
192 |
192 |
193 if (current.isValid()) { |
193 if (current.isValid() && mHeader!=0) { |
194 Q_ASSERT( mHeader != 0 ); |
|
195 // need to cast constness away |
194 // need to cast constness away |
196 BubbleConferenceHeader& mutableHeader = |
195 BubbleConferenceHeader& mutableHeader = |
197 const_cast<BubbleConferenceHeader&>(*mHeader); |
196 const_cast<BubbleConferenceHeader&>(*mHeader); |
198 mutableHeader.setSelectedHeader(mModel->bubbleId(current.row())); |
197 mutableHeader.setSelectedHeader(mModel->bubbleId(current.row())); |
199 mSelectionTimer->stop(); |
198 mSelectionTimer->stop(); |