from QDir shadersDir = QDir(qApp->applicationDirPath()); to QDir shadersDir = PluginManager::getBaseDirPath();

This commit is contained in:
Guido Ranzuglia granzuglia 2010-04-13 15:00:19 +00:00
parent c5c673f362
commit 8e4e52b63a

View File

@ -22,6 +22,7 @@
****************************************************************************/
#include "render_rfx.h"
#include <common/pluginmanager.h>
RenderRFX::RenderRFX()
{
@ -54,7 +55,7 @@ QList<QAction*> RenderRFX::actions()
void RenderRFX::initActionList()
{
QDir shadersDir = QDir(qApp->applicationDirPath());
QDir shadersDir = PluginManager::getBaseDirPath();
#if defined(Q_OS_WIN)
if (shadersDir.dirName() == "debug" ||