summaryrefslogtreecommitdiff
path: root/src/tabhighlighteffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabhighlighteffect.cpp')
-rw-r--r--src/tabhighlighteffect.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tabhighlighteffect.cpp b/src/tabhighlighteffect.cpp
index 621263fe..fe663167 100644
--- a/src/tabhighlighteffect.cpp
+++ b/src/tabhighlighteffect.cpp
@@ -23,6 +23,7 @@
*
* ============================================================ */
+
//Self Includes
#include "tabhighlighteffect.h"
#include "tabhighlighteffect.moc"
@@ -31,8 +32,10 @@
#include <QVariant>
#include <tabbar.h>
+
const QByteArray prep("hAnim");
+
TabHighlightEffect::TabHighlightEffect(TabBar *tabBar)
: QGraphicsEffect(tabBar)
, m_tabBar(tabBar)
@@ -64,6 +67,7 @@ void TabHighlightEffect::draw(QPainter *painter)
}
}
+
bool TabHighlightEffect::event(QEvent* event)
{
if (event->type() == QEvent::DynamicPropertyChange)
@@ -78,4 +82,4 @@ bool TabHighlightEffect::event(QEvent* event)
}
return QGraphicsEffect::event(event);
-} \ No newline at end of file
+}