diff options
author | Jesper K. Pedersen <[email protected]> | 2013-05-29 07:16:50 +0000 |
---|---|---|
committer | Jesper K. Pedersen <[email protected]> | 2013-06-03 15:36:06 +0200 |
commit | af8eb8d825d7d1ea08b1a1ac36f52860bf4b7b84 (patch) | |
tree | 11b9d426e1a21845f498f7fdd47ca80f66ebdaec /utils/utils.cpp | |
parent | a29bf2cd09e0a1bf36aac99ebc551658c58b2a58 (diff) |
Change-Id: I270dc67545d27cd3177414112f14684df63a70ad
Reviewed-by: Nicolas Arnaud-Cormos <[email protected]>
Diffstat (limited to 'utils/utils.cpp')
-rw-r--r-- | utils/utils.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/utils.cpp b/utils/utils.cpp index 9208b45..091a958 100644 --- a/utils/utils.cpp +++ b/utils/utils.cpp @@ -31,6 +31,7 @@ #include <QDir> #include "scriptrunner.h" #include <QFile> +#include <scriptmanager.h> namespace Scripting { namespace Internal { @@ -82,6 +83,11 @@ void Utils::touchFile(const QString &fileName) file.close(); } +void Utils::addScriptPath(const QString &path) +{ + ScriptManager::instance()->addScriptPath(path); +} + } // namespace Internal } // namespace Scripting |