Some HttpGet cleanup: use references when setting options.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20232 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-03-08 09:06:05 +00:00
parent 537ee27384
commit e05e7932f3
2 changed files with 5 additions and 5 deletions

View file

@ -64,7 +64,7 @@ HttpGet::HttpGet(QObject *parent)
//! @brief set cache path
// @param d new directory to use as cache path
void HttpGet::setCache(QDir d)
void HttpGet::setCache(const QDir& d)
{
m_cachedir = d;
bool result;