From 11d3ff0cc98841180fabc2d4b7dd2d42722e0c4b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 9 Apr 2015 19:40:32 +0300 Subject: [PATCH] Pass value by reference. --- src/Registry_Encoder.cpp | 2 +- src/Registry_Encoder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Registry_Encoder.cpp b/src/Registry_Encoder.cpp index c8fbf577..6a2e1227 100644 --- a/src/Registry_Encoder.cpp +++ b/src/Registry_Encoder.cpp @@ -377,7 +377,7 @@ while(0) } \ while(0) -void EncoderRegistry::saveEncoderCustomParams(SettingsModel *settings, const int encoderId, const QString params) +void EncoderRegistry::saveEncoderCustomParams(SettingsModel *settings, const int encoderId, const QString ¶ms) { //Store the encoder bitrate/quality value switch(encoderId) diff --git a/src/Registry_Encoder.h b/src/Registry_Encoder.h index 98664712..20f3345d 100644 --- a/src/Registry_Encoder.h +++ b/src/Registry_Encoder.h @@ -42,7 +42,7 @@ public: static void saveEncoderValue(SettingsModel *settings, const int encoderId, const int rcMode, const int value); static int loadEncoderValue(const SettingsModel *settings, const int encoderId, const int rcMode); - static void saveEncoderCustomParams(SettingsModel *settings, const int encoderId, const QString params); + static void saveEncoderCustomParams(SettingsModel *settings, const int encoderId, const QString ¶ms); static QString loadEncoderCustomParams(const SettingsModel *settings, const int encoderId); static void resetAllEncoders(SettingsModel *settings);