--- a/zz_historyDialog.cpp Thu Apr 11 17:15:01 2013 +0300 +++ b/zz_historyDialog.cpp Fri Apr 12 00:28:17 2013 +0300 @@ -238,13 +238,8 @@ // ============================================================================= void HistoryDialog::slot_clear () { - if (QMessageBox::question (this, "Confirm", "Are you sure you want to " - "clear the edit history?\nThis cannot be undone.", - (QMessageBox::Yes | QMessageBox::No), QMessageBox::No) != QMessageBox::Yes) - { - // Canceled - return; - } + if (!confirm ("Are you sure you want to clear the edit history?\nThis cannot be undone.")) + return; // Canceled History::clear (); populateList ();