History

Add add/remove friends menu item

This must display the dialog whether or not users.js is running. Both C++ and JavaScript need to open or restore the same dialog, hence a new dialog rather than using WebWindow with its JavaScript baggage.

David Rowe committed 11 years ago

Commit be69c0b1 parent 418ff597 files · +44 −14Browse files

Showing the changes to interface/src/scripting/GlobalServicesScriptingInterface.cpp (1 of 7 files). Show all

Unified · Split

interface/src/scripting/GlobalServicesScriptingInterface.cpp+4−0
@@ -123,3 +123,7 @@ void GlobalServicesScriptingInterface::checkDownloadInfo() { · 122 unmodified lines
123void GlobalServicesScriptingInterface::updateDownloadInfo() {123void GlobalServicesScriptingInterface::updateDownloadInfo() {
124 emit downloadInfoChanged(getDownloadInfo());124 emit downloadInfoChanged(getDownloadInfo());
125}125}
126
127void GlobalServicesScriptingInterface::editFriends() {
128 QMetaObject::invokeMethod(Application::getInstance(), "showEditFriendsDialog");
129}