Commit f853399f authored by Robert Menzel's avatar Robert Menzel
Browse files

fixed QT based image loading

parent 49ca2fa3
......@@ -188,7 +188,7 @@ SharedTextureData loadTextureDataFromLodepng(const std::string &_filename)
//! loads from the QT library
SharedTextureData loadTextureDataFromQT(const std::string &_filename)
SharedTextureData data;
SharedTextureData data = SharedTextureData( new TextureData() );
QImage image = QImage( QString(_filename.c_str()) );
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