Commit e636d684 authored by Frédéric Brière's avatar Frédéric Brière Committed by Albert Astals Cid
Browse files

Mark `event` argument of EntryListView::resizeEvent() as unused

This argument is only useful for knowing the old size, which we really
don't care about.
parent 0352add1
...@@ -24,6 +24,7 @@ EntryListView::EntryListView( QWidget *parent ) ...@@ -24,6 +24,7 @@ EntryListView::EntryListView( QWidget *parent )
void EntryListView::resizeEvent( QResizeEvent *event ) void EntryListView::resizeEvent( QResizeEvent *event )
{ {
Q_UNUSED( event );
QHeaderView *header = horizontalHeader(); QHeaderView *header = horizontalHeader();
header->resizeSection( 0, float( width() ) * WORDRATIO ); header->resizeSection( 0, float( width() ) * WORDRATIO );
header->resizeSection( 1, float( width() ) * READINGRATIO ); header->resizeSection( 1, float( width() ) * READINGRATIO );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment