From 19dd8b740b647087fff1f8f057d4777f96b431e8 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Sat, 1 Mar 2014 22:43:31 +0400 Subject: [PATCH] Properly reset overrided cursor in dialog headwords window --- dictheadwords.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dictheadwords.cc b/dictheadwords.cc index 10694ff6..b10197af 100644 --- a/dictheadwords.cc +++ b/dictheadwords.cc @@ -98,7 +98,7 @@ DictHeadwords::DictHeadwords( QWidget *parent, Config::Class & cfg_, showHeadwordsNumber(); - QApplication::setOverrideCursor( Qt::ArrowCursor ); + QApplication::restoreOverrideCursor(); } DictHeadwords::~DictHeadwords() @@ -150,7 +150,7 @@ void DictHeadwords::filterChanged() proxy->setFilterRegExp( regExp ); - QApplication::setOverrideCursor( Qt::ArrowCursor ); + QApplication::restoreOverrideCursor(); showHeadwordsNumber(); }