mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 16:09:37 -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;
|
return anchor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifndef QT_NO_CONTEXTMENU
|
|
||||||
QMenu *RSTextBrowser::createStandardContextMenu()
|
QMenu *RSTextBrowser::createStandardContextMenu()
|
||||||
{
|
{
|
||||||
return createStandardContextMenu(QPoint());
|
return createStandardContextMenu(QPoint());
|
||||||
@ -313,7 +311,6 @@ QMenu *RSTextBrowser::createStandardContextMenu(const QPoint &position)
|
|||||||
|
|
||||||
return menu;
|
return menu;
|
||||||
}
|
}
|
||||||
#endif // QT_NO_CONTEXTMENU
|
|
||||||
|
|
||||||
void RSTextBrowser::viewSource()
|
void RSTextBrowser::viewSource()
|
||||||
{
|
{
|
||||||
|
@ -56,10 +56,8 @@ public:
|
|||||||
QVariant textColorQuotes() const { return highlighter->textColorQuotes();}
|
QVariant textColorQuotes() const { return highlighter->textColorQuotes();}
|
||||||
bool getShowImages() const { return mShowImages; }
|
bool getShowImages() const { return mShowImages; }
|
||||||
|
|
||||||
#ifndef QT_NO_CONTEXTMENU
|
|
||||||
QMenu *createStandardContextMenu();
|
QMenu *createStandardContextMenu();
|
||||||
QMenu *createStandardContextMenu(const QPoint &position);
|
QMenu *createStandardContextMenu(const QPoint &position);
|
||||||
#endif
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void showImages();
|
void showImages();
|
||||||
|
Loading…
Reference in New Issue
Block a user