Showing the changes to interface/src/scripting/MenuScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -131,19 +131,3 @@ void MenuScriptingInterface::setMenuEnabled(const QString& menuOption, bool isCh · 130 unmodified lines | ||
| 131 | 131 | void MenuScriptingInterface::triggerOption(const QString& menuOption) { |
| 132 | 132 | QMetaObject::invokeMethod(Menu::getInstance(), "triggerOption", Q_ARG(const QString&, menuOption)); |
| 133 | 133 | } |
| 134 | − | |
| 135 | −void MenuScriptingInterface::closeInfoView(const QString& path) { | |
| 136 | − QMetaObject::invokeMethod(Menu::getInstance(), "closeInfoView", Q_ARG(const QString&, path)); | |
| 137 | −} | |
| 138 | − | |
| 139 | −bool MenuScriptingInterface::isInfoViewVisible(const QString& path) { | |
| 140 | − if (QThread::currentThread() == qApp->thread()) { | |
| 141 | − return Menu::getInstance()->isInfoViewVisible(path); | |
| 142 | − } | |
| 143 | − | |
| 144 | − bool result; | |
| 145 | − BLOCKING_INVOKE_METHOD(Menu::getInstance(), "isInfoViewVisible", | |
| 146 | − Q_RETURN_ARG(bool, result), Q_ARG(const QString&, path)); | |
| 147 | − return result; | |
| 148 | −} | |
| 149 | − | |