diff --git a/retroshare-gui/src/gui/common/RSTextBrowser.cpp b/retroshare-gui/src/gui/common/RSTextBrowser.cpp index 7d6776eb1..43bad4e7b 100644 --- a/retroshare-gui/src/gui/common/RSTextBrowser.cpp +++ b/retroshare-gui/src/gui/common/RSTextBrowser.cpp @@ -297,8 +297,6 @@ QString RSTextBrowser::anchorForPosition(const QPoint &pos) const return anchor; } - -#ifndef QT_NO_CONTEXTMENU QMenu *RSTextBrowser::createStandardContextMenu() { return createStandardContextMenu(QPoint()); @@ -313,7 +311,6 @@ QMenu *RSTextBrowser::createStandardContextMenu(const QPoint &position) return menu; } -#endif // QT_NO_CONTEXTMENU void RSTextBrowser::viewSource() { diff --git a/retroshare-gui/src/gui/common/RSTextBrowser.h b/retroshare-gui/src/gui/common/RSTextBrowser.h index e06cd31c8..05a0e0d2e 100644 --- a/retroshare-gui/src/gui/common/RSTextBrowser.h +++ b/retroshare-gui/src/gui/common/RSTextBrowser.h @@ -56,10 +56,8 @@ public: QVariant textColorQuotes() const { return highlighter->textColorQuotes();} bool getShowImages() const { return mShowImages; } -#ifndef QT_NO_CONTEXTMENU QMenu *createStandardContextMenu(); QMenu *createStandardContextMenu(const QPoint &position); -#endif public slots: void showImages();