diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/TabDivePhotos.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop-widgets/tab-widgets/TabDivePhotos.cpp b/desktop-widgets/tab-widgets/TabDivePhotos.cpp index 7f8b3a8b0..2531cd247 100644 --- a/desktop-widgets/tab-widgets/TabDivePhotos.cpp +++ b/desktop-widgets/tab-widgets/TabDivePhotos.cpp @@ -42,11 +42,11 @@ void TabDivePhotos::clear() void TabDivePhotos::contextMenuEvent(QContextMenuEvent *event) { QMenu popup(this); - popup.addAction(tr("Load image(s) from file(s)"), this, &TabDivePhotos::addPhotosFromFile); - popup.addAction(tr("Load image(s) from web"), this, &TabDivePhotos::addPhotosFromURL); + popup.addAction(tr("Load image(s) from file(s)"), this, SLOT(addPhotosFromFile)); + popup.addAction(tr("Load image(s) from web"), this, SLOT(addPhotosFromURL)); popup.addSeparator(); - popup.addAction(tr("Delete selected images"), this, &TabDivePhotos::removeSelectedPhotos); - popup.addAction(tr("Delete all images"), this, &TabDivePhotos::removeAllPhotos); + popup.addAction(tr("Delete selected images"), this, SLOT(removeSelectedPhotos)); + popup.addAction(tr("Delete all images"), this, SLOT(removeAllPhotos)); popup.exec(event->globalPos()); event->accept(); } |