diff options
Diffstat (limited to 'generator/shellgenerator.cpp')
-rw-r--r-- | generator/shellgenerator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/shellgenerator.cpp b/generator/shellgenerator.cpp index a978dfb..7d9f4ba 100644 --- a/generator/shellgenerator.cpp +++ b/generator/shellgenerator.cpp @@ -212,4 +212,7 @@ void ShellGenerator::writeFunctionSignature(QTextStream &s, s << ")"; if (meta_function->isConstant()) s << " const"; + + if (!meta_function->exception().isEmpty()) + s << " " << meta_function->exception(); } |