From e6c676e6ec5ebb235211b488a13b1447dfe71387 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Wed, 20 Apr 2016 20:42:51 +0300 Subject: [PATCH] Mac-specific: One more check in MacMouseover module --- macmouseover.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macmouseover.mm b/macmouseover.mm index 305d585a..1a065401 100644 --- a/macmouseover.mm +++ b/macmouseover.mm @@ -247,6 +247,9 @@ void MacMouseOver::handlePosition() void MacMouseOver::handleRetrievedString( QString & wordSeq, int wordSeqPos ) { + if( wordSeq.isEmpty() ) + return; + // locate the word inside the sequence QString word;