From ee4e21530b21efe7a3b6fa108ec186f553ed4b65 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 8 Feb 2007 20:33:49 +0000 Subject: Fixed issue that the filterbar and the menu state have not been synchronized (a not existing signal name has been used) svn path=/trunk/playground/utils/dolphin/; revision=631709 --- src/filterbar.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/filterbar.cpp') diff --git a/src/filterbar.cpp b/src/filterbar.cpp index 99616c29e..cdb1b713b 100644 --- a/src/filterbar.cpp +++ b/src/filterbar.cpp @@ -60,7 +60,7 @@ FilterBar::FilterBar(QWidget* parent) : connect(m_filterInput, SIGNAL(textChanged(const QString&)), this, SIGNAL(filterChanged(const QString&))); - connect(m_close, SIGNAL(clicked()), this, SLOT(emitClose())); + connect(m_close, SIGNAL(clicked()), this, SLOT(emitCloseRequest())); } FilterBar::~FilterBar() @@ -86,13 +86,13 @@ void FilterBar::keyReleaseEvent(QKeyEvent* event) { QWidget::keyReleaseEvent(event); if ((event->key() == Qt::Key_Escape)) { - emitClose(); + emitCloseRequest(); } } -void FilterBar::emitClose() +void FilterBar::emitCloseRequest() { - emit close(); + emit closeRequest(); } #include "filterbar.moc" -- cgit v1.3