Add opening a file via the command line.

Authored by woltherav on Oct 8 2018, 11:28 AM.

Description

Add opening a file via the command line.

This adds a positional argument to peruse's command line, which accepts a file url, which will then be opened upon the opening of the mainwindow qml file.

Of course, the real reason we'd want this is that this also makes opening a file directly from Dolphin or other such sources possible :)

Differential Revision: https://phabricator.kde.org/D15951

Details

Committed
woltheravOct 8 2018, 11:29 AM
Differential Revision
D15951: Add opening a file via the command line.
Parents
R157:76e60adceab5: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown