Commit 5cec555a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add debug output

parent 3a75f11b
Pipeline #64873 passed with stage
in 6 minutes and 55 seconds
cmake_minimum_required(VERSION 3.16 FATAL_ERROR) cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
set(PIM_VERSION "5.17.40") set(PIM_VERSION "5.17.41")
project(Akonadi-Mime VERSION ${PIM_VERSION}) project(Akonadi-Mime VERSION ${PIM_VERSION})
# ECM setup # ECM setup
......
...@@ -787,3 +787,9 @@ const Akonadi::MessageStatus Akonadi::MessageStatus::statusHasError() ...@@ -787,3 +787,9 @@ const Akonadi::MessageStatus Akonadi::MessageStatus::statusHasError()
st.setHasError(); st.setHasError();
return st; return st;
} }
QDebug operator<<(QDebug d, const Akonadi::MessageStatus &t)
{
d << "status " << t.statusStr();
return d;
}
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
*/ */
#pragma once #pragma once
#include <QSet>
#include "akonadi-mime_export.h" #include "akonadi-mime_export.h"
#include <QDebug>
#include <QSet>
class QString; class QString;
...@@ -415,3 +415,4 @@ private: ...@@ -415,3 +415,4 @@ private:
}; };
} // namespace Akonadi } // namespace Akonadi
AKONADI_MIME_EXPORT QDebug operator<<(QDebug d, const Akonadi::MessageStatus &t);
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