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
PIM
PIM Messagelib
Commits
7d0585c6
Commit
7d0585c6
authored
Feb 27, 2017
by
Laurent Montel
Browse files
Clean up
parent
9f53cd70
Changes
4
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/sender/messagesender.h
View file @
7d0585c6
...
...
@@ -63,8 +63,6 @@ public:
message on success, so DO NOT DELETE OR MODIFY the message
further.
FIXME: what about send() == false?
@return true on success.
*/
bool
send
(
const
KMime
::
Message
::
Ptr
&
msg
,
SendMethod
method
=
SendDefault
)
...
...
messagelist/src/utils/themeeditor.cpp
View file @
7d0585c6
...
...
@@ -67,7 +67,6 @@ static const char gThemeContentItemTypeDndMimeDataFormat[] = "application/x-kmai
ThemeColumnPropertiesDialog
::
ThemeColumnPropertiesDialog
(
QWidget
*
parent
,
Theme
::
Column
*
column
,
const
QString
&
title
)
:
QDialog
(
parent
),
mColumn
(
column
)
{
//setAttribute( Qt::WA_DeleteOnClose );
setWindowModality
(
Qt
::
ApplicationModal
);
// FIXME: Sure ?
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
,
this
);
...
...
messageviewer/src/messagepartthemes/default/defaultrenderer.cpp
View file @
7d0585c6
...
...
@@ -360,27 +360,7 @@ bool containsExternalReferences(const QString &str, const QString &extraHead)
}
return
false
;
}
#if 0 //FIXME
QString processHtml(const QString &htmlSource, QString &extraHead)
{
// Create a DOM Document from the HTML source
QWebPage page(nullptr);
page.settings()->setAttribute(QWebSettings::JavascriptEnabled, false);
page.settings()->setAttribute(QWebSettings::JavaEnabled, false);
page.settings()->setAttribute(QWebSettings::PluginsEnabled, false);
page.settings()->setAttribute(QWebSettings::AutoLoadImages, false);
QWebFrame *frame = page.mainFrame();
frame->setHtml(htmlSource);
const QWebElement body = frame->documentElement().findFirst(QStringLiteral("body"));
const QWebElement header = frame->documentElement().findFirst(QStringLiteral("head"));
extraHead = header.toInnerXml();
return body.toInnerXml();
}
#endif
class
CacheHtmlWriter
:
public
MimeTreeParser
::
HtmlWriter
{
public:
...
...
messageviewer/src/viewer/csshelperbase.cpp
View file @
7d0585c6
...
...
@@ -586,8 +586,6 @@ QString CSSHelperBase::screenCssDefinitions(const CSSHelperBase *helper, bool fi
" padding: 0px ! important;
\n
"
" font-size:0.8em ! important;
\n
"
" border:1px solid %6 ! important;
\n
"
// FIXME: InfoBackground crashes KHTML
//" background-color:InfoBackground ! important;\n"
" background-color:%5 ! important;
\n
"
"}
\n\n
"
...
...
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