Make the AboutDialog close button save geometry too 52
authorLuís Pereira <luis.artur.pereira@gmail.com>
Fri, 13 Apr 2012 00:23:18 +0000 (17:23 -0700)
committerLuís Pereira <luis.artur.pereira@gmail.com>
Fri, 13 Apr 2012 00:23:18 +0000 (17:23 -0700)
commit1c5cc4e8f430e2571b24054401ad16e8176beed7
tree649e1a492ec47e76b2c5823aa8856b67c8d7ad3e
parentb4736528498a9abab95ee1e28b704241447f03ed
Make the AboutDialog close button save geometry too

The close button emits the rejected() signal, who was connected to the
QWidget::reject() slot. But.... the QWidget::reject() slot doesn't emit an
QCloseEvent. But the QWidget::close() slot indeed emits it.
Connecting the rejected() signal to the close() slot will create an
QCloseEvent that will be catched by AboutDialog::closeEvent() which calls
writeSettings().

Signed-off-by: Luís Pereira <luis.artur.pereira@gmail.com>
src/ui/aboutdialog.ui