- Changed the filename regexp based on a suggestion from Charles.
svn path=/trunk/kdebase/kwin/; revision=178060
This commit is contained in:
parent
ae8a8f227d
commit
76a41a4709
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ void KeramikEmbedder::embed( const char *name )
|
|||
QString codename( basename );
|
||||
QImage image( name );
|
||||
|
||||
codename = codename.replace( QRegExp("[-,\\s]"), "_" );
|
||||
codename = codename.replace( QRegExp("[^a-zA-Z0-9]"), "_" );
|
||||
|
||||
stream << "\tstatic const QRgb " << codename << "_data[] = {" << endl << "\t\t";
|
||||
stream.setf( QTextStream::hex | QTextStream::right );
|
||||
|
|
Loading…
Reference in a new issue