aboutsummaryrefslogtreecommitdiffstats
path: root/apiextractor.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 /apiextractor.cpp
parent7c2acc64fb7d345c184c91336ed20913a6d6d791 (diff)
Fix bug 731 - "Can't specify more than a single 'since' argument"
Diffstat (limited to 'apiextractor.cpp')
-rw-r--r--apiextractor.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/apiextractor.cpp b/apiextractor.cpp
index 6443c073..c26e6f69 100644
--- a/apiextractor.cpp
+++ b/apiextractor.cpp
@@ -106,7 +106,12 @@ void ApiExtractor::setSilent ( bool value )
void ApiExtractor::setApiVersion(double version)
{
- TypeDatabase::instance()->setApiVersion(version);
+ TypeDatabase::instance()->setApiVersion("*", QByteArray::number(version));
+}
+
+void ApiExtractor::setApiVersion(const QString& package, const QByteArray& version)
+{
+ TypeDatabase::instance()->setApiVersion(package, version);
}
void ApiExtractor::setDropTypeEntries(QString dropEntries)