setContextMenuPolicy(Qt::CustomContextMenu);
connect(this, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(showCustomContextMenu(QPoint)));
+ this->setExpandsOnDoubleClick(false);
+ connect(this, SIGNAL(doubleClicked(QModelIndex)), this, SIGNAL(openFileRequested(QModelIndex)));
+
openAction = new QAction(tr("Open"), this);
connect(openAction, SIGNAL(triggered()), this, SLOT(requestOpenFile()));
openNextAction = new QAction(tr("Open Next"), this);