Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
1699ec54
Commit
1699ec54
authored
Mar 29, 2010
by
mae
Browse files
Shorter progress notification timeout for temporary tasks
Reviewed-by: Roberto Raggi
parent
b65c2573
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/progressmanager/futureprogress.cpp
View file @
1699ec54
...
...
@@ -47,6 +47,7 @@ using namespace Core;
using
namespace
Core
::
Internal
;
const
int
notificationTimeout
=
8000
;
const
int
shortNotificationTimeout
=
1000
;
namespace
Core
{
namespace
Internal
{
...
...
@@ -240,7 +241,7 @@ void FutureProgress::setFinished()
m_waitingForUserInteraction
=
true
;
qApp
->
installEventFilter
(
this
);
}
else
if
(
!
m_progress
->
hasError
())
{
QTimer
::
singleShot
(
n
otificationTimeout
,
this
,
SLOT
(
fadeAway
()));
QTimer
::
singleShot
(
shortN
otificationTimeout
,
this
,
SLOT
(
fadeAway
()));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment