[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed May 7 17:47:02 CEST 2003


On Wednesday 07 May 2003 05:57, Barth Netterfield wrote:
> CVS commit by netterfield:
>
> Un-broke file reading.
>
> --- kdeextragear-2/kst/kst/kstfile.cpp  #1.4:1.5
> @@ -65,6 +65,8 @@ KstFile::KstFile(QDomElement &e) {
>  void KstFile::commonConstructor(const QString &_filename_in,
>                                  const KstFileType &newType) {
> -  const char *filename_in = QFile::encodeName(_filename_in).data();
> +  const char *filename_in = _filename_in.latin1();
>    int len;
> +
> +  std::cout << filename_in << "\n";
>
>    NumUsed = NumFrames = 0;

   I was worried about that change as well.  That's why I wanted a sample data 
file to test with.  I think that whole function  needs to be reworked.  For 
instance, I don't think it will work with non-latin1 filenames now.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list