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
GSoC
GSoC2018
macOS
vlc
Commits
f7bb9fcf
Commit
f7bb9fcf
authored
Jun 23, 2008
by
lukas.durfina
Committed by
Jean-Baptiste Kempf
Jun 24, 2008
Browse files
Avoid potential problems with bad saved value
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
1fcc611a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/playlist/playlist_item.cpp
View file @
f7bb9fcf
...
...
@@ -73,7 +73,10 @@ void PLItem::init( int _i_id, int _i_input_id, PLItem *parent, PLModel *m )
QSettings
settings
(
"vlc"
,
"vlc-qt-interface"
);
i_showflags
=
settings
.
value
(
"qt-pl-showflags"
,
39
).
toInt
();
if
(
i_showflags
<
1
)
i_showflags
=
39
;
//reasonable default to show something;
i_showflags
=
39
;
/* reasonable default to show something; */
else
if
(
i_showflags
>=
COLUMN_END
)
i_showflags
=
COLUMN_END
-
1
;
/* show everything */
updateColumnHeaders
();
}
}
...
...
Write
Preview
Markdown
is supported
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