Custom Query (27 matches)
Results (25 - 27 of 27)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#26 | worksforme | firefox icons don't show | ||
Description |
After installing and attempting to run Psi the icons on the web pages displayed by firefox display a large red bullet (ball). The underlying function still works properly. ECS 1.2, firefox 1.5.0.4, Psi 0.1 |
|||
#51 | fixed | pipes not created unique | ||
Description |
in qprocess_pm.cpp it's possible that pipes are not created unique. this leads to a problem if a new process is started with the same pipe key. the problem occured in smplayer. see attached patch to qprocess_pm.cpp. it fixes the smplayer problem |
|||
#31 | fixed | qfile_pm.cpp: isValidFile() doesn't work correctly for filenames with national characters | ||
Description |
Мелочь, поэтому напишу по русски :) . bool isValidFile( const QString& fileName ) использует strchr() для проверки символа в имени файла на if ( strchr( badChars, fileName[i] ) ) Перед этим для приведения fileName[i] к char неявно вызывается метод latin1(), который для символов в уникоде (>0xFF) возвращает 0. Но согласно спецификации strchr() 0 это допустимы символ для поиска и более того конец строки '\0' также включается в поиск. В результате имеем FALSE для всех имён с национальными символами. Вот исправление: for ( int i = 0; i < (int) fileName.length(); i++) { if ( fileName[i] < QChar( 32 ) ) return FALSE; '''if( (char)fileName[i] == 0 ) continue;''' if ( strchr( badChars, fileName[i] ) ) return FALSE; } Или можно заменить strchr() strnchr() |