projects
/
fapman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweaks for qt 4.7
[fapman]
/
rotatingbackground.cpp
diff --git
a/rotatingbackground.cpp
b/rotatingbackground.cpp
index
43d9db7
..
10dd5cd
100644
(file)
--- a/
rotatingbackground.cpp
+++ b/
rotatingbackground.cpp
@@
-86,12
+86,11
@@
void RotatingBackground::paintEvent(QPaintEvent *)
}
}
}
}
-void RotatingBackground::resizeEvent(QResizeEvent *)
+void RotatingBackground::resizeEvent(QResizeEvent* event)
{
{
- this->resize( dynamic_cast<QWidget*>(parent())->size() );
+ QWidget::resizeEvent(event);
}
void RotatingBackground::orientationChanged()
{
}
void RotatingBackground::orientationChanged()
{
- resizeEvent(0);
}
}