]> cloud.milkyroute.net Git - dolphin.git/commit
Hide an already visible KMessageWidget message before showing a new one
authorArjun AK <arjunak234@gmail.com>
Fri, 22 Aug 2014 13:12:50 +0000 (18:42 +0530)
committerArjun AK <arjunak234@gmail.com>
Fri, 22 Aug 2014 13:12:50 +0000 (18:42 +0530)
commit4290827540d88829d3d06f828a11ac2c3df00d54
tree2e3f68827081bd230a1c7304865eed725edcf586
parentb73aeb4598503ee7b4eb11f38edd26783d20bbb6
Hide an already visible KMessageWidget message before showing a new one

1. Do some operation that causes the KMessageWidget to show an error message
2. Immediately Repeat the same action.

The user has no way to know whether the error message is from the second operation or
is a leftover from the first one. By hiding the widget first and then showing it using
animatedShow(), the user can clearly see that a new message was generated. Also once the
directory successfully loads, the widget should be hidden.

BUG: 323077
FIXED-IN: 4.14.1
REVIEW: 119401
src/dolphinviewcontainer.cpp