Always resurrect playlist window in the correct pos.

This commit is contained in:
Tobias Rundstrom 2006-03-05 17:04:18 -03:00
parent f7c018c48c
commit aa6be6881a
2 changed files with 6 additions and 0 deletions

View file

@ -162,6 +162,11 @@ PlaylistWindow::mouseMoveEvent (QMouseEvent *event)
move (event->globalPos().x() - m_diffx,
event->globalPos().y() - m_diffy);
}
void
PlaylistWindow::moveEvent (QMoveEvent *event)
{
QSettings s;
s.setValue ("playlist/pos", pos ());
}