Mercurial > trustbridge
comparison ui/mainwindow.h @ 686:a2e94e88d304
(Issue27) Close the app on close event.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 01 Jul 2014 12:14:10 +0200 |
parents | 129e611eaf50 |
children | e4abb41484a0 |
comparison
equal
deleted
inserted
replaced
685:248d4f24e618 | 686:a2e94e88d304 |
---|---|
127 * | 127 * |
128 * On error mPreviouslyUnselected is empty after this call. | 128 * On error mPreviouslyUnselected is empty after this call. |
129 */ | 129 */ |
130 void loadUnselectedCertificates(); | 130 void loadUnselectedCertificates(); |
131 | 131 |
132 protected: | |
133 virtual void closeEvent(QCloseEvent *event) {return closeApp();} | |
134 | |
132 protected slots: | 135 protected slots: |
133 /** @brief cleanup and close the main window | 136 /** @brief cleanup and close the main window |
134 * | 137 * |
135 * Perform a clean exit (saving state etc.) and close | 138 * Perform a clean exit (saving state etc.) and close |
136 * the application */ | 139 * the application */ |