Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d15e8e86 authored by Volker Krause's avatar Volker Krause

Fix up arc failure, this was the latest version D18397

parent b03bfa11
......@@ -68,7 +68,7 @@ public class OpenFileActivity extends QtActivity
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
Log.v("Okular", "Activity Result: " + String.valueOf(requestCode) + " with code: " + String.valueOf(resultCode));
if (intent != null && requestCode == OpenDocumentRequest) {
if (resultCode == RESULT_OK && requestCode == OpenDocumentRequest) {
Uri uri = intent.getData();
Log.v("Okular", "Opening document: " + uri.toString());
displayUri(uri);
......
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