Commit 06772543 authored by Matthias Möller's avatar Matthias Möller

- replaced deprecated qt4 functions

- removed some unnecessary qt headers

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17078 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e2a1fc21
......@@ -669,7 +669,7 @@ void TextureControlPlugin::slotTextureFilename( int _id, QString _textureName, Q
}
_textureFilename = OpenFlipper::Options::textureDir().path() +
QDir::separator().toAscii() + (globalTextures_.texture(_textureName)).filename();
QDir::separator().toLatin1() + (globalTextures_.texture(_textureName)).filename();
QFile f(_textureFilename);
if(!f.exists()) _textureFilename = "NOT_FOUND";
......
......@@ -47,7 +47,6 @@
#include <cfloat>
#include <QtGui>
#include <OpenFlipper/common/GlobalOptions.hh>
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
......
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