mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Change from uploadCurrentDive to requestUpload call
Since we can't forbit the plugins to upload more than just the current dive, it's better to change the name of the call. also add a stub to make sure it's calling the right method inside the plugin. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
486857f2b4
commit
287977b04c
4 changed files with 5 additions and 4 deletions
|
@ -268,6 +268,7 @@ MainWindow::MainWindow() : QMainWindow(),
|
|||
share_on->setData(QVariant::fromValue(plugin));
|
||||
ui.menuShare_on->addAction(share_on);
|
||||
connections->addAction(toggle_connection);
|
||||
connect(share_on, &QAction::triggered, [plugin](bool triggered) { plugin->requestUpload(); }
|
||||
}
|
||||
ui.menuShare_on->addSeparator();
|
||||
ui.menuShare_on->addMenu(connections);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue