summaryrefslogtreecommitdiffstats
path: root/tdestyles/plastik
diff options
context:
space:
mode:
Diffstat (limited to 'tdestyles/plastik')
-rw-r--r--tdestyles/plastik/plastik.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdestyles/plastik/plastik.cpp b/tdestyles/plastik/plastik.cpp
index d08b36deb..2cca2613f 100644
--- a/tdestyles/plastik/plastik.cpp
+++ b/tdestyles/plastik/plastik.cpp
@@ -894,7 +894,7 @@ void PlastikStyle::renderPanel(TQPainter *p,
if (kickerMode &&
p->device() && p->device()->devType() == TQInternal::Widget &&
- TQCString(TQT_TQWIDGET(static_cast<TQPaintDevice*>(p->device()))->className()) == "FittsLawFrame") {
+ TQCString(TQT_TQWIDGET(p->device())->className()) == "FittsLawFrame") {
// Stolen wholesale from Keramik. I don't like it, but oh well.
if (sunken) {
const TQCOORD corners[] = { x2, y, x2, y2, x, y2, x, y };