From f54c390acda49ddce0639ead6e424b1c47bab23e Mon Sep 17 00:00:00 2001 From: Abs62 Date: Thu, 23 Jun 2016 17:37:48 +0300 Subject: [PATCH] MacOS: Fix warning --- macmouseover.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macmouseover.mm b/macmouseover.mm index 18586814..bc873334 100644 --- a/macmouseover.mm +++ b/macmouseover.mm @@ -85,7 +85,7 @@ QString MacMouseOver::CFStringRefToQString( CFStringRef str ) QString result = QString::fromUtf16( chars, length ); - delete chars; + delete[] chars; return result; }