Commit 1c9516cf authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Qt: setMovable has been deprecated in Qt5

parent 0d33f98e
......@@ -95,7 +95,11 @@ PluginTab::PluginTab( intf_thread_t *p_intf_ )
layout->addWidget( treePlugins, 0, 0, 1, -1 );
/* Users cannot move the columns around but we need to sort */
#if QT_VERSION >= 0x050000
treePlugins->header()->setSectionsMovable( false );
#else
treePlugins->header()->setMovable( false );
#endif
treePlugins->header()->setSortIndicatorShown( true );
// treePlugins->header()->setResizeMode( QHeaderView::ResizeToContents );
treePlugins->setAlternatingRowColors( true );
......
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