diff options
Diffstat (limited to 'src/progs/gtk/PatchTreeWindow.cpp')
-rw-r--r-- | src/progs/gtk/PatchTreeWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/gtk/PatchTreeWindow.cpp b/src/progs/gtk/PatchTreeWindow.cpp index 065f4d6a..78ee9428 100644 --- a/src/progs/gtk/PatchTreeWindow.cpp +++ b/src/progs/gtk/PatchTreeWindow.cpp @@ -66,7 +66,7 @@ PatchTreeWindow::PatchTreeWindow(BaseObjectType* cobject, void PatchTreeWindow::add_patch(PatchController* pc) { - PatchModel* const pm = pc->patch_model(); + const CountedPtr<PatchModel> pm = pc->patch_model(); if (pm->parent() == NULL) { Gtk::TreeModel::iterator iter = m_patch_treestore->append(); |