Commit 3b7f8139 authored by Laurent Montel's avatar Laurent Montel 😁

Add debug info

parent 5bdb994a
Pipeline #38741 passed with stage
in 36 minutes and 5 seconds
......@@ -1866,3 +1866,19 @@ Akonadi::Item KMFetchMessageCommand::item() const
{
return mItem;
}
QDebug operator <<(QDebug d, const KMPrintCommandInfo &t)
{
d << "item id " << t.mMsg.id();
d << "mOverrideFont " << t.mOverrideFont;
d << "mEncoding " << t.mEncoding;
d << "mFormat " << t.mFormat;
d << "mHtmlLoadExtOverride " << t.mHtmlLoadExtOverride;
d << "mUseFixedFont " << t.mUseFixedFont;
d << "mPrintPreview " << t.mPrintPreview;
d << "mShowSignatureDetails " << t.mShowSignatureDetails;
d << "mShowEncryptionDetails " << t.mShowEncryptionDetails;
d << "mAttachmentStrategy " << t.mAttachmentStrategy;
d << "mHeaderStylePlugin " << t.mHeaderStylePlugin;
return d;
}
......@@ -402,6 +402,8 @@ struct KMAILTESTS_TESTS_EXPORT KMPrintCommandInfo
bool mShowEncryptionDetails = false;
};
QDebug operator <<(QDebug d, const KMPrintCommandInfo &t);
class KMAILTESTS_TESTS_EXPORT KMPrintCommand : public KMCommand
{
Q_OBJECT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment