[Kst] kdeextragear-2/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Wed May 7 14:02:39 CEST 2003
CVS commit by netterfield:
Hack mitigation in converting filename_in to a char* - use again
encodeName.
M +2 -1 kstfile.cpp 1.6
--- kdeextragear-2/kst/kst/kstfile.cpp #1.5:1.6
@@ -65,6 +65,7 @@ KstFile::KstFile(QDomElement &e) {
void KstFile::commonConstructor(const QString &_filename_in,
const KstFileType &newType) {
- const char *filename_in = _filename_in.latin1();
int len;
+ QCString qcs_filename_in = QFile::encodeName(_filename_in);
+ const char *filename_in = qcs_filename_in.data();
std::cout << filename_in << "\n";
More information about the Kst
mailing list