[Kst] Re: kdeextragear-2/kst/kst
David Faure
dfaure at trolltech.com
Wed May 7 12:00:57 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 07 May 2003 11:57, Barth Netterfield wrote:
> CVS commit by netterfield:
>
> Un-broke file reading.
>
>
> M +3 -1 kstfile.cpp 1.5
>
>
> --- 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";
This looks definitely wrong.
I suggest
QCString filename_in = QFile::encodeName(_filename_in);
- --
David FAURE, faure at kde.org, sponsored by TrollTech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
How to write a Makefile.am for KDE/Qt code:
http://developer.kde.org/documentation/other/makefile_am_howto.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+uNlZ72KcVAmwbhARAkD1AJ9vFPSyuMc4UazHnm/oRbrisPDCpQCfXURV
u9ek381QB74XEwgT+kHxsi8=
=hvu1
-----END PGP SIGNATURE-----
More information about the Kst
mailing list