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:
@@ -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() )
|
||||
{
|
||||
|
@@ -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 );
|
||||
|
Reference in New Issue
Block a user