projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make returning from full screen mode even more obvious.
[dorian]
/
translucentbutton.cpp
diff --git
a/translucentbutton.cpp
b/translucentbutton.cpp
index
8be09aa
..
4a680e8
100644
(file)
--- a/
translucentbutton.cpp
+++ b/
translucentbutton.cpp
@@
-26,7
+26,7
@@
void TranslucentButton::paintEvent(QPaintEvent *)
void TranslucentButton::flash()
{
QPropertyAnimation *ani = new QPropertyAnimation(this, "opacity", 0);
- ani->setDuration(5000);
+ ani->setDuration(3000);
ani->setStartValue(0.);
ani->setEndValue(1.);
ani->setEasingCurve(QEasingCurve::OutQuart);