Commit 5eb8fe03 authored by Daniel Teske's avatar Daniel Teske

TextEditor: Fix memory leak in CircularClipboardAssist

Change-Id: Ib32d7f4c25c9012fbcb76db9e3af7446cf0a2505
Reviewed-by: default avatarNikolai Kosjar <>
parent de0ed107
......@@ -91,6 +91,7 @@ public:
if (!interface)
return 0;
const QScopedPointer<const AssistInterface> AssistInterface(interface);
QIcon icon = QIcon::fromTheme(QLatin1String("edit-paste"), QIcon(QLatin1String(Core::Constants::ICON_PASTE))).pixmap(16);
CircularClipboard * clipboard = CircularClipboard::instance();
Markdown is supported
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