From e607f28f7eaed6ced3b25b8ae4eb9a00988f76ee Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Sep 2021 18:03:16 +0900 Subject: Fixed FTBFS with c++11 on gcc 4.8.4. Signed-off-by: Michele Calgaro --- qtruby/rubylib/designer/rbuic/form.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtruby') diff --git a/qtruby/rubylib/designer/rbuic/form.cpp b/qtruby/rubylib/designer/rbuic/form.cpp index 8d30b0d7..cff86471 100644 --- a/qtruby/rubylib/designer/rbuic/form.cpp +++ b/qtruby/rubylib/designer/rbuic/form.cpp @@ -241,7 +241,7 @@ void Uic::createFormImpl( const TQDomElement &e ) // children if( !objectNames.isEmpty() ) - tqWarning("WARNING : objectNames should be empty at "__FILE__" line %d\n", __LINE__); + tqWarning(TQString("WARNING : objectNames should be empty at ") + __FILE__ + " line " + __LINE__); nl = e.parentNode().toElement().elementsByTagName( "widget" ); for ( i = 1; i < (int) nl.length(); i++ ) { // start at 1, 0 is the toplevel widget -- cgit v1.2.1