Index: trunk/GnssCenter/monitor/dlgconf.cpp
===================================================================
--- trunk/GnssCenter/monitor/dlgconf.cpp	(revision 5463)
+++ trunk/GnssCenter/monitor/dlgconf.cpp	(revision 5464)
@@ -36,5 +36,9 @@
 
   QPushButton* cancelButton = new QPushButton("Cancel", this);
-  QPushButton* okButton     = new QPushButton("OK", this);
+  connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
+
+  QPushButton* okButton = new QPushButton("OK", this);
+  connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
+
   QHBoxLayout* buttonLayout = new QHBoxLayout;
   buttonLayout->addWidget(cancelButton);
@@ -58,2 +62,8 @@
 }
 
+// Accept (virtual slot)
+/////////////////////////////////////////////////////////////////////////////
+void t_dlgConf::accept() {
+  qDebug() << "accept hovno";
+}
+
Index: trunk/GnssCenter/monitor/dlgconf.h
===================================================================
--- trunk/GnssCenter/monitor/dlgconf.h	(revision 5463)
+++ trunk/GnssCenter/monitor/dlgconf.h	(revision 5464)
@@ -12,4 +12,6 @@
   t_dlgConf(QWidget* parent);
   ~t_dlgConf();
+ public slots:
+  virtual void accept();
  private:
   QLineEdit* _hostLineEdit;
