Add View Source in RSTextBrowser

This commit is contained in:
Phenom 2020-11-09 15:26:08 +01:00
parent bfbee1bdec
commit 9dcb4af645
2 changed files with 0 additions and 5 deletions

View File

@ -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()
{

View File

@ -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();