Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1c9516cf
Commit
1c9516cf
authored
Jul 15, 2013
by
Ludovic Fauvet
Browse files
Qt: setMovable has been deprecated in Qt5
parent
0d33f98e
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/gui/qt4/dialogs/plugins.cpp
View file @
1c9516cf
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment