Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Added a comment.

Emmet O'Neill406eae801eed
diff --git a/libs/ui/KisPart.cpp b/libs/ui/KisPart.cpp
index 78abe43898..0aafac1953 100644
--- a/libs/ui/KisPart.cpp
+++ b/libs/ui/KisPart.cpp
@@ -724,6 +724,8 @@ void KisPart::setPlaybackEngine(KisPlaybackEngine *p_playbackEngine)
QScopedPointer backup(p_playbackEngine);
d->playbackEngine.swap(backup);
+ // Log all changes to playback engine for easier debugging.
+ // (See `krita.log` or `Help > Show Krita log for bug reports`.)
KisUsageLogger::log("Audio Playback Engine: " + QString(p_playbackEngine->metaObject()->className()));
Q_EMIT playbackEngineChanged(p_playbackEngine);