Changing WarningDialog to QMessageBox
diff --git a/src/browsecontactdialog.h b/src/browsecontactdialog.h
index dfcb64c..8b8029f 100644
--- a/src/browsecontactdialog.h
+++ b/src/browsecontactdialog.h
@@ -14,6 +14,7 @@
 
 #include <QDialog>
 #include <QStringListModel>
+#include <QCloseEvent>
 #include "warningdialog.h"
 
 
@@ -56,6 +57,10 @@
   void
   fetchCertificate();
 
+protected:
+  void
+  closeEvent(QCloseEvent *e);
+
 private slots:
   void
   updateSelection(const QItemSelection &selected,