mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
Add View Source in RSTextBrowser
This commit is contained in:
parent
bfbee1bdec
commit
9dcb4af645
@ -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()
|
||||
{
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user