Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
KImageMap Editor
Commits
0b7c9f76
Commit
0b7c9f76
authored
Oct 08, 2022
by
Marius Pa
Committed by
Albert Astals Cid
Oct 19, 2022
Browse files
kimedialogs remove commented out KHTML source code
parent
ab5c28a2
Pipeline
#251108
passed with stage
in 44 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
kimedialogs.cpp
View file @
0b7c9f76
...
...
@@ -601,12 +601,6 @@ HTMLPreviewDialog::HTMLPreviewDialog(QWidget* parent, const QString & htmlCode)
htmlPart
=
new
QWebEngineView
;
mainLayout
->
addWidget
(
htmlPart
);
// htmlView = new KHTMLView(htmlPart, page);
// mainLayout->addWidget(htmlView);
// htmlView->setVScrollBarMode(QScrollView::Auto);
// htmlView->setHScrollBarMode(QScrollView::Auto);
// dialog->resize(dialog->calculateSize(edit->maxLineWidth(),edit->numLines()*));
// dialog->adjustSize();
htmlPart
->
load
(
QUrl
::
fromLocalFile
(
tempFile
->
fileName
()));
QLabel
*
lbl
=
new
QLabel
;
lbl
->
setObjectName
(
"urllabel"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment