diff options
Diffstat (limited to 'tdejava/koala/tdejava/KPasswordEdit.cpp')
-rw-r--r-- | tdejava/koala/tdejava/KPasswordEdit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdejava/koala/tdejava/KPasswordEdit.cpp b/tdejava/koala/tdejava/KPasswordEdit.cpp index 6cadb6cf..a58d8f71 100644 --- a/tdejava/koala/tdejava/KPasswordEdit.cpp +++ b/tdejava/koala/tdejava/KPasswordEdit.cpp @@ -584,9 +584,9 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_trinitydesktop_koala_KPasswordEdit_password(JNIEnv* env, jobject obj) { - const char* _qstring; + TQString _qstring; _qstring = ((KPasswordEdit*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromCharString(env, (char *) _qstring); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL |