File templates tool: with no open document, use base dir of project or home

Authored by kossebau on Jan 18 2017, 6:11 PM.

Description

File templates tool: with no open document, use base dir of project or home

Summary:
Currently without any document open, the base dir used for the newly
created files is an invalid empty url and in debug builds also triggers
an assert in TemplateClassGenerator constructor.

Reviewers: KDevelop, mwolff

Reviewed By: KDevelop, mwolff

Subscribers: mwolff, flherne, kdevelop-devel

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

Details

Committed
kossebauJan 22 2017, 9:36 PM
Reviewer
KDevelop
Differential Revision
D4192: File templates tool: with no open document, use base dir of project or home
Parents
R32:97237d4e6dd2: Update version number to 5.0.4
Branches
Unknown
Tags
Unknown