mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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
This commit is contained in:
parent
6a67539780
commit
b14fe221ab
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue