]> git.sesse.net Git - vlc/commitdiff
show default info in playlist if i_showflag is too low to show anything
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 11 Feb 2008 05:46:29 +0000 (05:46 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 11 Feb 2008 05:46:29 +0000 (05:46 +0000)
at all

modules/gui/qt4/components/playlist/playlist_item.cpp

index bb6745f2233316f193b56e227028e72cc110678f..c0f394e1a91f52bc367851f2f3218ff9aec3dadd 100644 (file)
@@ -70,6 +70,8 @@ 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" ).toInt();
+            if( i_showflags < 1) 
+                i_showflags = 39; //reasonable default to show something;
             updateColumnHeaders();
         }
     }