Fix warnings about DumpView::dataChanged and struct StatsTuple

This commit is contained in:
Bernhard Ehlers 2018-05-21 21:31:44 +02:00
parent f5f04e6cb9
commit 1d8bb9f4df
3 changed files with 5 additions and 3 deletions

View File

@ -157,7 +157,8 @@ QRegion DumpView::visualRegionForSelection(
//protected slots:
void DumpView::dataChanged(const QModelIndex &/*topLeft*/,
const QModelIndex &/*bottomRight*/)
const QModelIndex &/*bottomRight*/,
const QVector<int> &/*roles*/)
{
// FIXME(HI)
update();

View File

@ -39,7 +39,8 @@ protected:
QRegion visualRegionForSelection( const QItemSelection &selection ) const;
protected slots:
void dataChanged( const QModelIndex &topLeft,
const QModelIndex &bottomRight );
const QModelIndex &bottomRight,
const QVector<int> &roles );
void selectionChanged( const QItemSelection &selected,
const QItemSelection &deselected );
void paintEvent(QPaintEvent *event);

View File

@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
#include <QThread>
class StatsTuple;
struct StatsTuple;
class PcapTxStats : public QThread
{