Commit d934c6cf authored by Vyacheslav Koscheev's avatar Vyacheslav Koscheev

Add check to jObject

parent cf8031f1
......@@ -220,7 +220,7 @@ void nativeClass::preloadJavaClasses()
\
bool nativeClass::isJniReady() const \
{ \
return jniLinker_ && jniLinker_->handler(); \
return jniLinker_ && jniLinker_->handler() && jniLinker_->handler()->jObject(); \
} \
\
QJniObject * nativeClass::jni() const \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment