mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +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();
|
raise();
|
||||||
show();
|
show();
|
||||||
|
move( QPoint( 0, parentWidget()->height() - height() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainStatusBar::mousePressEvent ( QMouseEvent * )
|
void MainStatusBar::mousePressEvent ( QMouseEvent * )
|
||||||
|
@ -101,7 +102,7 @@ bool MainStatusBar::eventFilter( QObject *, QEvent * e )
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue