From 39d7ae6ce548ca14ade836fc88426c915b937472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Tue, 22 Jul 2014 22:46:17 +0200 Subject: [PATCH] fixed double click for opening a comic --- YACReaderLibrary/classic_comics_view.cpp | 2 +- common/yacreader_flow_gl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/YACReaderLibrary/classic_comics_view.cpp b/YACReaderLibrary/classic_comics_view.cpp index 00d5cfe6..48444658 100644 --- a/YACReaderLibrary/classic_comics_view.cpp +++ b/YACReaderLibrary/classic_comics_view.cpp @@ -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); diff --git a/common/yacreader_flow_gl.cpp b/common/yacreader_flow_gl.cpp index 58588251..5ce9e1dc 100644 --- a/common/yacreader_flow_gl.cpp +++ b/common/yacreader_flow_gl.cpp @@ -1059,7 +1059,7 @@ void YACReaderFlowGL::keyPressEvent(QKeyEvent *event) if(event->key() == Qt::Key_Up) { - emit selected(centerIndex()); + //emit selected(centerIndex()); return; }