1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-26 23:35:32 +02:00

More windows fixage.

This commit is contained in:
Teo Mrnjavac
2012-11-18 13:31:49 +01:00
parent adb3311c72
commit 7fe1f88431
2 changed files with 3 additions and 1 deletions

View File

@@ -251,7 +251,7 @@ SocialWidget::onGeometryUpdate()
QPoint position( m_position - QPoint( size().width(), size().height() )
+ QPoint( 2 + ARROW_HEIGHT * 3, 0 ) );
#ifdef Q_OS_WIN
position.ry() -= 12 + ARROW_HEIGHT;
position.ry() -= 18/*margins I guess*/ + ARROW_HEIGHT;
#endif
if ( position != pos() )
{

View File

@@ -35,7 +35,9 @@ AccountsPopupWidget::AccountsPopupWidget( QWidget* parent )
, m_widget( 0 )
, m_arrowOffset( 0 )
{
#ifndef Q_OS_WIN
setWindowFlags( Qt::FramelessWindowHint );
#endif
setWindowFlags( Qt::Popup );
//Uncomment this if using a debugger:
//setWindowFlags( Qt::Window );