| 740 | } |
| 741 | |
| 742 | KDiff3App::~KDiff3App() |
| 743 | { |
| 744 | delete m_totalDiffStatus; |
| 745 | |
| 746 | if(mRunnablesStarted) |
| 747 | { |
| 748 | g_pProgressDialog->cancel(ProgressDialog::eExit); |
| 749 | } |
| 750 | |
| 751 | // Prevent spurious focus change signals from Qt from being picked up by KDiff3App during destruction. |
| 752 | QObject::disconnect(qApp, &QApplication::focusChanged, this, &KDiff3App::slotFocusChanged); |
| 753 | }; |
| 754 | |
| 755 | /** |
| 756 | * Helper function used to create actions into the ac collection |