From 886d1d8c0365ac461249cc0456b2d9fca2536b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Fri, 25 Oct 2013 19:35:04 +0200 Subject: [PATCH] fixed libraries options button --- custom_widgets/yacreader_library_item_widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_widgets/yacreader_library_item_widget.cpp b/custom_widgets/yacreader_library_item_widget.cpp index e4430a2b..245b2a2f 100644 --- a/custom_widgets/yacreader_library_item_widget.cpp +++ b/custom_widgets/yacreader_library_item_widget.cpp @@ -26,7 +26,7 @@ YACReaderLibraryItemWidget::YACReaderLibraryItemWidget(QString n/*ame*/, QString options->setFixedWidth(18); options->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Minimum); options->setStyleSheet("QToolButton {border:none;}"); - connect(options,SIGNAL(pressed()),this,SIGNAL(showOptions())); + connect(options,SIGNAL(clicked()),this,SIGNAL(showOptions())); /*up = new QToolButton(this); up->setIcon(QIcon(":/images/libraryUp.png")); up->setHidden(true); @@ -152,4 +152,4 @@ void YACReaderLibraryItemWidget::setName(const QString & name) { this->name = name; nameLabel->setText(name); -} \ No newline at end of file +}