All pastes #396251 Raw Edit

Mine

public text v1 · immutable
#396251 ·published 2007-03-15 17:03 UTC
rendered paste body
Index: programs/mythbackend/mythxml.cpp
===================================================================
--- programs/mythbackend/mythxml.cpp    (revision 13045)
+++ programs/mythbackend/mythxml.cpp    (working copy)
@@ -758,7 +758,9 @@
     {
         query.first();

-        pRequest->m_sFileName       = musicbasepath + query.value(0).toString();
+        pRequest->m_sFileName       = QString( "%1/%2" )
+                                           .arg( musicbasepath )
+                                           .arg( query.value(0).toString() );
     }

     if ((nWidth == 0) && (nHeight == 0))