Index: /trunk/BNC/bncapp.cpp
===================================================================
--- /trunk/BNC/bncapp.cpp	(revision 4166)
+++ /trunk/BNC/bncapp.cpp	(revision 4167)
@@ -789,2 +789,14 @@
 #endif
 }
+
+// Handling Events (virtual)
+////////////////////////////////////////////////////////////////////////////
+bool bncApp::event(QEvent* ev) {
+
+  if (ev->type() == QEvent::FileOpen) {
+    QString fileName = static_cast<QFileOpenEvent*>(ev)->file();
+    return true;
+  }
+    
+  return QApplication::event(ev);
+}
Index: /trunk/BNC/bncapp.h
===================================================================
--- /trunk/BNC/bncapp.h	(revision 4166)
+++ /trunk/BNC/bncapp.h	(revision 4167)
@@ -62,4 +62,6 @@
     const QString& pgmName() {return _pgmName;}
     const QString& userName() {return _userName;}
+  protected:
+    virtual bool event(QEvent* ev);
 
   public slots:
