Hi guys,

I found a line that's still using the old Qt3 QString::c_str() instead of
Qt4's QString::toAscii().  See below for patch.

-- 
               G a b r i e l   M   B e d d i n g f i e l d

diff --git a/libs/hydrogen/src/flac_file.cpp
b/libs/hydrogen/src/flac_file.cpp
--- a/libs/hydrogen/src/flac_file.cpp
+++ b/libs/hydrogen/src/flac_file.cpp
@@ -169,7 +169,7 @@ void FLACFile_real::load( const QString& sFilename )
        set_metadata_ignore_all();

 #ifdef LEGACY_FLAC
-       set_filename( sFilename.c_str() );
+       set_filename( sFilename.toAscii() );

        State s=init();
        if ( s != FLAC__FILE_DECODER_OK ) {



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to