projects
/
jspeed
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a small bug in flicker effect.
[jspeed]
/
src
/
opacityeffect.cpp
diff --git
a/src/opacityeffect.cpp
b/src/opacityeffect.cpp
index
2b1ea09
..
d43a8cf
100644
(file)
--- a/
src/opacityeffect.cpp
+++ b/
src/opacityeffect.cpp
@@
-21,6
+21,7
@@
#include <QtGui/QGraphicsOpacityEffect>
#include <QtGui/QGraphicsItem>
#include "opacityeffect.h"
#include <QtGui/QGraphicsOpacityEffect>
#include <QtGui/QGraphicsItem>
#include "opacityeffect.h"
+#include "graphicselement.h"
namespace
{
namespace
{
@@
-62,7
+63,7
@@
bool OpacityEffect::setAttribute(QString const& name, QString const& value)
}
}
}
}
-void OpacityEffect::apply(QGraphicsItem* item)
+void OpacityEffect::apply(GraphicsElement* item)
{
{
- item->setGraphicsEffect(effect_);
+ item->getElement()->setGraphicsEffect(effect_);
}
}