[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/kfile-plugins/m3u
From:       Charles Samuels <charles () kde ! org>
Date:       2003-05-31 21:21:09
[Download RAW message or body]

CVS commit by charles: 

don't lock up


  M +2 -2      kfile_m3u.cpp   1.13


--- kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp  #1.12:1.13
@@ -56,5 +56,5 @@ bool KM3uPlugin::readInfo( KFileMetaInfo
 {
     QFile f(info.path());
-    f.open(IO_ReadOnly);
+    if (!f.open(IO_ReadOnly)) return false;
     QTextStream str(&f);
     str.setEncoding(QTextStream::Locale);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic