fix unwanted debugging code
This commit is contained in:
parent
1ee283103d
commit
734a46c910
1 changed files with 3 additions and 2 deletions
|
@ -44,13 +44,14 @@ TextBrowserViewer::TextBrowserViewer(QWidget* parent)
|
|||
a_color = qApp->palette().color(QPalette::ColorRole::Highlight);
|
||||
}
|
||||
|
||||
// m_document.data()->setDefaultStyleSheet(QSL("a { color: %1; }").arg(a_color.name()));
|
||||
m_document.data()->setDefaultStyleSheet(QSL("a { color: %1; }").arg(a_color.name()));
|
||||
|
||||
/*
|
||||
m_document->setDefaultStyleSheet("p {"
|
||||
"background-color: yellow;"
|
||||
"border: 1px solid black;"
|
||||
"}");
|
||||
|
||||
*/
|
||||
connect(this, &TextBrowserViewer::reloadDocument, this, [this]() {
|
||||
const auto scr = verticalScrollBarPosition();
|
||||
setHtmlPrivate(html(), m_currentUrl);
|
||||
|
|
Loading…
Add table
Reference in a new issue