Commit 449f9a3f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use debug category

parent fdb3df4e
Pipeline #90494 passed with stage
in 23 minutes and 51 seconds
......@@ -5,7 +5,7 @@
*/
#include "historyswitchfoldermanager.h"
#include "kmail_debug.h"
#include <QUndoStack>
HistorySwitchFolderManager::HistorySwitchFolderManager(QObject *parent)
......@@ -35,14 +35,14 @@ void HistorySwitchFolderManager::clear()
void HistorySwitchFolderManager::changeCollection(const Akonadi::Collection &currentCol)
{
if (currentCol.isValid()) {
qDebug() << "HistorySwitchFolderManager::changeCollection " << currentCol;
qCDebug(KMAIL_LOG) << "HistorySwitchFolderManager::changeCollection " << currentCol;
Q_EMIT switchToFolder(currentCol);
}
}
void HistorySwitchFolderManager::undo()
{
qDebug() << " void HistorySwitchFolderManager::undo()" << mUndoStack->canUndo();
qCDebug(KMAIL_LOG) << " void HistorySwitchFolderManager::undo()" << mUndoStack->canUndo();
if (mUndoStack->canUndo()) {
mUndoStack->undo();
}
......@@ -50,7 +50,7 @@ void HistorySwitchFolderManager::undo()
void HistorySwitchFolderManager::redo()
{
qDebug() << " void HistorySwitchFolderManager::redo()" << mUndoStack->canRedo();
qCDebug(KMAIL_LOG) << " void HistorySwitchFolderManager::redo()" << mUndoStack->canRedo();
if (mUndoStack->canRedo()) {
mUndoStack->redo();
}
......
Supports Markdown
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