diff options
| author | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-07-11 11:32:18 +0200 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-11 16:52:00 +0200 |
| commit | 278c18a5bd27cbf1773b11247917c65df0ec0554 (patch) | |
| tree | c62601d9f6341250bc197c5e3840a5a65e385391 /src/lib/buildgraph/buildgraph.cpp | |
| parent | 880c8d03cba5833bc3b0c12e408ff31e7572db86 (diff) | |
| download | qbs-278c18a5bd27cbf1773b11247917c65df0ec0554.tar.gz | |
remove superfluous setProperty call
The defineProperty call above already does the job.
Change-Id: I8db611d113f4e085767e8bd3ea4695eb458e25b5
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/buildgraph/buildgraph.cpp')
| -rw-r--r-- | src/lib/buildgraph/buildgraph.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/buildgraph/buildgraph.cpp b/src/lib/buildgraph/buildgraph.cpp index 3b5bda27e..efb210568 100644 --- a/src/lib/buildgraph/buildgraph.cpp +++ b/src/lib/buildgraph/buildgraph.cpp @@ -125,7 +125,6 @@ private: descriptor.setProperty(QLatin1String("set"), engine->evaluate("(function(){})")); descriptor.setProperty(QLatin1String("enumerable"), true); engine->defineProperty(moduleScriptValue, QLatin1String("dependencies"), descriptor); - moduleScriptValue.setProperty(QLatin1String("dependencies"), depfunc); moduleScriptValue.setProperty(QLatin1String("type"), QLatin1String("module")); } |
