summaryrefslogtreecommitdiffstats
path: root/juk/viewmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/viewmode.cpp')
-rw-r--r--juk/viewmode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/juk/viewmode.cpp b/juk/viewmode.cpp
index dab099f2..73a66771 100644
--- a/juk/viewmode.cpp
+++ b/juk/viewmode.cpp
@@ -104,7 +104,7 @@ void ViewMode::paintCell(PlaylistBox::Item *item,
bool ViewMode::eventFilter(TQObject *watched, TQEvent *e)
{
- if(m_visible && TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(m_playlistBox->viewport()) && e->type() == TQEvent::Resize) {
+ if(m_visible && watched == m_playlistBox->viewport() && e->type() == TQEvent::Resize) {
TQResizeEvent *re = TQT_TQRESIZEEVENT(e);
if(re->size().width() != re->oldSize().width())
m_needsRefresh = true;