mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 22:44:56 -04:00
fixed some dialogs in MacOSX, now they are shown as sheets
This commit is contained in:
@ -77,8 +77,8 @@ void GoToDialog::setNumPages(unsigned int numPages)
|
||||
v->setTop(numPages);
|
||||
}
|
||||
|
||||
void GoToDialog::show()
|
||||
void GoToDialog::open()
|
||||
{
|
||||
pageNumber->setFocus();
|
||||
QDialog::show();
|
||||
}
|
||||
QDialog::open();
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
public slots:
|
||||
void goTo();
|
||||
void setNumPages(unsigned int numPages);
|
||||
void show();
|
||||
void open();
|
||||
signals:
|
||||
void goToPage(unsigned int page);
|
||||
};
|
||||
|
@ -240,7 +240,7 @@ void Viewer::prev()
|
||||
}
|
||||
void Viewer::showGoToDialog()
|
||||
{
|
||||
goToDialog->show();
|
||||
goToDialog->open();
|
||||
}
|
||||
void Viewer::goTo(unsigned int page)
|
||||
{
|
||||
|
Reference in New Issue
Block a user