From a0df52e8609c1e5559f466e74695e09a59b65356 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 26 Jun 2015 14:17:54 -0700 Subject: [PATCH] add note for UI link --- libraries/ui/src/Tooltip.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/ui/src/Tooltip.cpp b/libraries/ui/src/Tooltip.cpp index 7a2b1d663e..56ba8a95b9 100644 --- a/libraries/ui/src/Tooltip.cpp +++ b/libraries/ui/src/Tooltip.cpp @@ -79,6 +79,10 @@ void Tooltip::requestHyperlinkImage() { QRegExp placeNameRegex(PLACE_NAME_REGEX_STRING); if (placeNameRegex.indexIn(_title) != -1) { + // NOTE: I'm currently not 100% sure why the UI library needs networking, but it's linked for now + // so I'm leveraging that here to get the place preview. We could also do this from the interface side + // should the network link be removed from UI at a later date. + // we possibly have a valid place name - so ask the API for the associated info AccountManager& accountManager = AccountManager::getInstance();