aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetalang.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-08-11 16:54:44 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:18 -0300
commitfbabe7a32b49d214ee5653cf6f0ced2f936c81ab (patch)
tree24698ed8817b08442ab0462eb8fd114f31c90271 /abstractmetalang.cpp
parent7c2acc64fb7d345c184c91336ed20913a6d6d791 (diff)
Fix bug 731 - "Can't specify more than a single 'since' argument"
Diffstat (limited to 'abstractmetalang.cpp')
-rw-r--r--abstractmetalang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/abstractmetalang.cpp b/abstractmetalang.cpp
index 5c1641c42..04fec2d8c 100644
--- a/abstractmetalang.cpp
+++ b/abstractmetalang.cpp
@@ -814,7 +814,7 @@ CodeSnipList AbstractMetaFunction::injectedCodeSnips(CodeSnip::Position position
{
CodeSnipList result;
foreach (const FunctionModification mod, modifications(ownerClass())) {
- if (mod.isCodeInjection() && TypeDatabase::instance()->supportedApiVersion(mod.version())) {
+ if (mod.isCodeInjection()) {
QList<CodeSnip>::const_iterator it = mod.snips.constBegin();
for (;it != mod.snips.constEnd(); ++it) {
if ((it->language & language) && (it->position == position || position == CodeSnip::Any))