Commit ac6fa74c authored by Jan Möbius's avatar Jan Möbius
Browse files

FIxed windows bug not accepting full path

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6543 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2808f97c
......@@ -49,6 +49,7 @@
#define TEXTUREDATA "TextureData"
void TextureControlPlugin::slotTextureAdded( QString _textureName , QString _filename , uint _dimension , int _id)
{
......@@ -190,7 +191,7 @@ void TextureControlPlugin::slotMultiTextureAdded( QString _textureGroup , QStrin
bool TextureControlPlugin::getImage( QString _fileName, QImage& _image ) {
QString loadFilename;
if ( _fileName.startsWith("/") || _fileName.startsWith(".") )
if ( _fileName.startsWith("/") || _fileName.startsWith(".") || _fileName.contains(":") )
loadFilename = _fileName;
else
loadFilename = OpenFlipper::Options::textureDirStr() + QDir::separator() + _fileName;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment