History

Add getHomeLocationAddress to bookmark API

Ryan Huffman committed 7 years ago

Commit 344410e1 parent 022aae62 files · +12 −1Browse files

Showing the changes to interface/src/LocationBookmarks.cpp (1 of 2 files). Show all

Unified · Split

interface/src/LocationBookmarks.cpp+6−1
@@ -59,7 +59,12 @@ void LocationBookmarks::setHomeLocation() { · 58 unmodified lines
59}59}
60 60
61void LocationBookmarks::setHomeLocationToAddress(const QVariant& address) {61void LocationBookmarks::setHomeLocationToAddress(const QVariant& address) {
62 Bookmarks::insert("Home", address);62 Bookmarks::insert(HOME_BOOKMARK, address);
63}
64
65
66QString LocationBookmarks::getHomeLocationAddress() {
67 return addressForBookmark(HOME_BOOKMARK);
63}68}
64 69
65void LocationBookmarks::teleportToBookmark() {70void LocationBookmarks::teleportToBookmark() {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t