From 7c6a7cdea33fc3b0343cd5c6a4b40e687264f2a8 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Tue, 3 Jun 2008 11:03:34 +0000 Subject: [PATCH] fixed platform-dependent sampleBuffer::tryToMakeAbsolute(...) git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1060 0778d3d1-df1d-0410-868b-ea421aaaa00d --- src/core/sample_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/sample_buffer.cpp b/src/core/sample_buffer.cpp index d56327c3b..db5449a6c 100644 --- a/src/core/sample_buffer.cpp +++ b/src/core/sample_buffer.cpp @@ -1227,7 +1227,7 @@ QString sampleBuffer::tryToMakeRelative( const QString & _file ) QString sampleBuffer::tryToMakeAbsolute( const QString & _file ) { - if( _file[0] == '/' ) + if( QFileInfo( _file ).isAbsolute() ) { return( _file ); }