Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
449f9a3f
Commit
449f9a3f
authored
Oct 22, 2021
by
Laurent Montel
😁
Browse files
Use debug category
parent
fdb3df4e
Pipeline
#90494
passed with stage
in 23 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/historyswitchfoldermanager.cpp
View file @
449f9a3f
...
...
@@ -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
;
q
C
Debug
(
KMAIL_LOG
)
<<
"HistorySwitchFolderManager::changeCollection "
<<
currentCol
;
Q_EMIT
switchToFolder
(
currentCol
);
}
}
void
HistorySwitchFolderManager
::
undo
()
{
qDebug
()
<<
" void HistorySwitchFolderManager::undo()"
<<
mUndoStack
->
canUndo
();
q
C
Debug
(
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
();
q
C
Debug
(
KMAIL_LOG
)
<<
" void HistorySwitchFolderManager::redo()"
<<
mUndoStack
->
canRedo
();
if
(
mUndoStack
->
canRedo
())
{
mUndoStack
->
redo
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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