Changeset f7bb9fcf168e22df7ac7a056ec989ce8ef41ffb4
- Timestamp:
- 06/24/08 16:05:21
(2 months ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1214316321 -0700
- git-parent:
[1fcc611a8924edf4ec205daa6b4ba597fb4c5dc0]
- git-author:
- Lukas Durfina <lukas.durfina@gmail.com> 1214242401 +0200
- Message:
Avoid potential problems with bad saved value
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r83fb335 |
rf7bb9fc |
|
| 74 | 74 | i_showflags = settings.value( "qt-pl-showflags", 39 ).toInt(); |
|---|
| 75 | 75 | if( i_showflags < 1) |
|---|
| 76 | | i_showflags = 39; //reasonable default to show something; |
|---|
| | 76 | i_showflags = 39; /* reasonable default to show something; */ |
|---|
| | 77 | else if ( i_showflags >= COLUMN_END ) |
|---|
| | 78 | i_showflags = COLUMN_END - 1; /* show everything */ |
|---|
| | 79 | |
|---|
| 77 | 80 | updateColumnHeaders(); |
|---|
| 78 | 81 | } |
|---|