aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-05-17 17:09:58 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-05-17 17:09:58 +0000
commitf775730cd49f7fb10bd588a75618ad8ea35468e4 (patch)
tree6db90d0273a17fae2e2b9a7bda837f539fd6cee5
parent5bb55bc5d9f78ba4dd5c1e8ac7d63b6f59fab43d (diff)
downloadqmmp-f775730cd49f7fb10bd588a75618ad8ea35468e4.tar.gz
qmmp-f775730cd49f7fb10bd588a75618ad8ea35468e4.tar.bz2
qmmp-f775730cd49f7fb10bd588a75618ad8ea35468e4.zip
fixed wm detection
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1740 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/ui/eqwidget.cpp4
-rw-r--r--src/ui/playlist.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/eqwidget.cpp b/src/ui/eqwidget.cpp
index beaee5639..cc5266c12 100644
--- a/src/ui/eqwidget.cpp
+++ b/src/ui/eqwidget.cpp
@@ -447,8 +447,8 @@ void EqWidget::keyPressEvent (QKeyEvent *ke)
#ifdef Q_WS_X11
bool EqWidget::event (QEvent *event)
{
- /*if(event->type() == QEvent::WinIdChange || event->type() == QEvent::Show)
- WindowSystem::ghostWindow(winId());*/
+ if(event->type() == QEvent::WinIdChange || event->type() == QEvent::Show)
+ WindowSystem::ghostWindow(winId());
return QWidget::event(event);
}
#endif
diff --git a/src/ui/playlist.cpp b/src/ui/playlist.cpp
index 132825e38..d53438278 100644
--- a/src/ui/playlist.cpp
+++ b/src/ui/playlist.cpp
@@ -506,8 +506,8 @@ void PlayList::readSettings()
#ifdef Q_WS_X11
bool PlayList::event (QEvent *event)
{
- /*if(event->type() == QEvent::WinIdChange || event->type() == QEvent::Show)
- WindowSystem::ghostWindow(winId());*/
+ if(event->type() == QEvent::WinIdChange || event->type() == QEvent::Show)
+ WindowSystem::ghostWindow(winId());
return QWidget::event(event);
}
#endif