mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix:status bar when at the startup does not position correctly
This commit is contained in:
parent
31c72dacdc
commit
91eefed48a
|
@ -86,6 +86,7 @@ void MainStatusBar::showMessage(const QString & str, int timeout, const QPixmap
|
|||
}
|
||||
raise();
|
||||
show();
|
||||
move( QPoint( 0, parentWidget()->height() - height() ) );
|
||||
}
|
||||
|
||||
void MainStatusBar::mousePressEvent ( QMouseEvent * )
|
||||
|
@ -101,7 +102,7 @@ bool MainStatusBar::eventFilter( QObject *, QEvent * e )
|
|||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue