Remove the internal file navigation from the global drawer
ClosedPublic

Authored by apol on May 14 2018, 11:48 PM.

Details

Summary

Instead include an "open" item.

Test Plan

opened a file

Diff Detail

Repository
R223 Okular
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.May 14 2018, 11:48 PM
Restricted Application added a project: Okular. · View Herald TranscriptMay 14 2018, 11:48 PM
Restricted Application added a subscriber: okular-devel. · View Herald Transcript
apol requested review of this revision.May 14 2018, 11:48 PM
aacid added inline comments.May 15 2018, 6:03 PM
core/document.cpp
2362 ↗(On Diff #34168)

I don't think it's a good idea changing the behaviour, can't you fix the mobile app to do the right thing?

apol added inline comments.May 16 2018, 2:59 PM
core/document.cpp
2362 ↗(On Diff #34168)

Sure, I did it because it feels like broken API. It just complains and doesn't do anything when you openDocument twice.
Will move into the QtQuick side.

apol updated this revision to Diff 34297.May 16 2018, 3:03 PM

Don't add logic in core/ just in case

apol marked an inline comment as done.May 16 2018, 3:04 PM
aacid added inline comments.May 16 2018, 6:11 PM
mobile/app/package/contents/ui/main.qml
33

That path is WHAAAT

apol updated this revision to Diff 34335.May 16 2018, 11:04 PM

Remove hardcoded path

mart accepted this revision.May 17 2018, 2:56 PM
This revision is now accepted and ready to land.May 17 2018, 2:56 PM
This revision was automatically updated to reflect the committed changes.