Commit 88dd6369 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: small Volume, align at first show

parent dd93b14a
......@@ -173,6 +173,7 @@ void SoundWidget::updateVolume()
void SoundWidget::showVolumeMenu( QPoint pos )
{
volumeMenu->setFixedHeight( volumeMenu->sizeHint().height() );
volumeMenu->exec( QCursor::pos() - pos - QPoint( 0, volumeMenu->height()/2 )
+ QPoint( width(), height() /2) );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment