diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-02-20 09:50:38 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-02-20 09:50:38 +0000 |
| commit | 774bee47ed685bd666173cb4d1664933217371c9 (patch) | |
| tree | 077955bb8b312b64b308fbd2ab1a32ee5989f605 /src/shortcuts.cpp | |
| parent | Fix Window centering LPEDialog (diff) | |
| download | inkscape-774bee47ed685bd666173cb4d1664933217371c9.tar.gz inkscape-774bee47ed685bd666173cb4d1664933217371c9.zip | |
Give more descriptive names to document file related variables and functions.
Makes searching through code for them easier.
Diffstat (limited to 'src/shortcuts.cpp')
| -rw-r--r-- | src/shortcuts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp index 64bcd811f..9714a61c0 100644 --- a/src/shortcuts.cpp +++ b/src/shortcuts.cpp @@ -375,7 +375,7 @@ Glib::ustring sp_shortcut_get_file_path() if (open_path.empty()) { /* Grab document directory */ - const gchar* docURI = SP_ACTIVE_DOCUMENT->getURI(); + const gchar* docURI = SP_ACTIVE_DOCUMENT->getDocumentURI(); if (docURI) { open_path = Glib::path_get_dirname(docURI); open_path.append(G_DIR_SEPARATOR_S); |
