fixed double click for opening a comic

This commit is contained in:
Luis Ángel San Martín 2014-07-22 22:46:17 +02:00
parent 61e6478fc2
commit 39d7ae6ce5
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ ClassicComicsView::ClassicComicsView(QWidget *parent)
connect(tableView, SIGNAL(clicked(QModelIndex)), this, SLOT(centerComicFlow(QModelIndex)));
connect(comicFlow, SIGNAL(centerIndexChanged(int)), this, SLOT(updateTableView(int)));
connect(tableView, SIGNAL(comicRated(int,QModelIndex)), this, SIGNAL(comicRated(int,QModelIndex)));
//connect(comicFlow, SIGNAL(selected(uint)), this, SIGNAL(selected(uint)));
connect(comicFlow, SIGNAL(selected(uint)), this, SIGNAL(selected(uint)));
connect(tableView->horizontalHeader(), SIGNAL(sectionMoved(int,int,int)), this, SLOT(saveTableHeadersStatus()));
layout->addWidget(sVertical);

View File

@ -1059,7 +1059,7 @@ void YACReaderFlowGL::keyPressEvent(QKeyEvent *event)
if(event->key() == Qt::Key_Up)
{
emit selected(centerIndex());
//emit selected(centerIndex());
return;
}