summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/debug.cpp')
-rw-r--r--src/ui/dialog/debug.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ui/dialog/debug.cpp b/src/ui/dialog/debug.cpp
index 1f7539fc7..426cd5d99 100644
--- a/src/ui/dialog/debug.cpp
+++ b/src/ui/dialog/debug.cpp
@@ -1,5 +1,6 @@
-/** @file
- * @brief A dialog that displays log messages
+/**
+ * @file
+ * A dialog that displays log messages.
*/
/* Authors:
* Bob Jamison
@@ -27,7 +28,7 @@ namespace UI {
namespace Dialog {
/**
- * @brief A very simple dialog for displaying Inkscape messages - implementation
+ * A very simple dialog for displaying Inkscape messages - implementation.
*/
class DebugDialogImpl : public DebugDialog, public Gtk::Dialog
{
@@ -153,6 +154,8 @@ void DebugDialog::showInstance()
{
DebugDialog *debugDialog = getInstance();
debugDialog->show();
+ // this is not a real memleak because getInstance() only creates a debug dialog once, and returns that instance for all subsequent calls
+ // cppcheck-suppress memleak
}