summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-02-28 20:48:55 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-02-28 20:48:55 +0000
commitb14fe221ab18c3856b9703355505f0358ad24315 (patch)
treee83b291a21eac91901aeb8bd7daaae8d94d9b6d0 /rbutil
parent6a675397805a9a93fe96b32baf827bac061d6a74 (diff)
downloadrockbox-b14fe221ab18c3856b9703355505f0358ad24315.tar.gz
rockbox-b14fe221ab18c3856b9703355505f0358ad24315.tar.bz2
rockbox-b14fe221ab18c3856b9703355505f0358ad24315.zip
Use reference for version map instead of copy in prototype.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/install.cpp2
-rw-r--r--rbutil/rbutilqt/install.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp
index 69a03f8091..457ea0d59f 100644
--- a/rbutil/rbutilqt/install.cpp
+++ b/rbutil/rbutilqt/install.cpp
@@ -268,7 +268,7 @@ void Install::setDetailsArchived(bool show)
-void Install::setVersionStrings(QMap<QString, QString> ver)
+void Install::setVersionStrings(QMap<QString, QString>& ver)
{
version = ver;
// version strings map is as following:
diff --git a/rbutil/rbutilqt/install.h b/rbutil/rbutilqt/install.h
index 2f116f269a..720b8ea14a 100644
--- a/rbutil/rbutilqt/install.h
+++ b/rbutil/rbutilqt/install.h
@@ -34,7 +34,7 @@ class Install : public QDialog
Q_OBJECT
public:
Install(RbSettings* sett,QWidget *parent = 0);
- void setVersionStrings(QMap<QString, QString>);
+ void setVersionStrings(QMap<QString, QString>&);
public slots:
void accept(void);