summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/filterdlg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/settings/packagemanager/filterdlg.h b/noncore/settings/packagemanager/filterdlg.h
index 42bae8b..de9ea80 100644
--- a/noncore/settings/packagemanager/filterdlg.h
+++ b/noncore/settings/packagemanager/filterdlg.h
@@ -49,11 +49,11 @@ public:
OPackageManager::Status status = OPackageManager::All,
const QString &category = 0x0 );
- const QString &name()
+ QString name()
{ return m_nameCB->isChecked() ? m_name->text() : QString::null; };
- const QString &server()
+ QString server()
{ return m_serverCB->isChecked() ? m_server->currentText() : QString::null; };
- const QString &destination()
+ QString destination()
{ return m_destCB->isChecked() ? m_destination->currentText() : QString::null; };
OPackageManager::Status status()
{
@@ -68,10 +68,10 @@ public:
else if ( m_status->currentText() == tr( "Updated" ) )
return OPackageManager::Updated;
}
- else
- return OPackageManager::NotDefined;
+
+ return OPackageManager::NotDefined;
};
- const QString &category()
+ QString category()
{ return m_categoryCB->isChecked() ? m_category->currentText() : QString::null; };
private: