diff options
Diffstat (limited to 'src/plugins/glsleditor/glsleditorplugin.cpp')
-rw-r--r-- | src/plugins/glsleditor/glsleditorplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/glsleditor/glsleditorplugin.cpp b/src/plugins/glsleditor/glsleditorplugin.cpp index ca953fc90f..44785ba36e 100644 --- a/src/plugins/glsleditor/glsleditorplugin.cpp +++ b/src/plugins/glsleditor/glsleditorplugin.cpp @@ -84,7 +84,7 @@ void GlslEditorPlugin::InitFile::initialize() const const int variant = GLSL::Lexer::Variant_All; QByteArray code; - QFile file(ICore::resourcePath() + "/glsl/" + m_fileName); + QFile file(ICore::resourcePath("glsl").pathAppended(m_fileName).toString()); if (file.open(QFile::ReadOnly)) code = file.readAll(); |