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

Mark ResultsView `name` ctor arg as unused

There is only one instance of ResultsView ever created, with a second
one in a TODO comment, so it's fair to assume the `name` argument would
have been meant to tell them apart.
parent 5ebd9566
......@@ -17,6 +17,7 @@ ResultsView::ResultsView( QWidget *parent, const char *name )
: QTextBrowser( parent )
, _scrollValue( 0 )
Q_UNUSED( name );
setOpenLinks( false );
connect(this, &QTextBrowser::anchorClicked, this, [=](const QUrl &url){
emit urlClicked( url.toString() );
Supports Markdown
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