mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
rbutilQt: fix Dialogs, so they are modal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14080 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2e2f92c906
commit
f358d4ad94
4 changed files with 7 additions and 3 deletions
|
|
@ -138,10 +138,11 @@ void RbUtilQt::downloadDone(int id, bool error)
|
|||
|
||||
void RbUtilQt::about()
|
||||
{
|
||||
QDialog *window = new QDialog;
|
||||
QDialog *window = new QDialog(this);
|
||||
Ui::aboutBox about;
|
||||
about.setupUi(window);
|
||||
|
||||
window->setModal(true);
|
||||
|
||||
QFile licence(":/docs/gpl-2.0.html");
|
||||
licence.open(QIODevice::ReadOnly);
|
||||
QTextStream c(&licence);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue