Skip to content

Commit

Permalink
Pass QStrings by reference instead of copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Jan 30, 2012
1 parent 149b274 commit aabd4ae
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Expand Up @@ -39,7 +39,7 @@ class CaptureServiceHost : public ServiceHost
{
public:

CaptureServiceHost( const QString sSharePath )
CaptureServiceHost( const QString &sSharePath )
: ServiceHost( Capture::staticMetaObject,
"Capture",
"/Capture",
Expand Down
Expand Up @@ -39,7 +39,7 @@ class ChannelServiceHost : public ServiceHost
{
public:

ChannelServiceHost( const QString sSharePath )
ChannelServiceHost( const QString &sSharePath )
: ServiceHost( Channel::staticMetaObject,
"Channel",
"/Channel",
Expand Down
Expand Up @@ -39,7 +39,7 @@ class ContentServiceHost : public ServiceHost
{
public:

ContentServiceHost( const QString sSharePath )
ContentServiceHost( const QString &sSharePath )
: ServiceHost( Content::staticMetaObject,
"Content",
"/Content",
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/serviceHosts/dvrServiceHost.h
Expand Up @@ -39,7 +39,7 @@ class DvrServiceHost : public ServiceHost
{
public:

DvrServiceHost( const QString sSharePath )
DvrServiceHost( const QString &sSharePath )
: ServiceHost( Dvr::staticMetaObject,
"Dvr",
"/Dvr",
Expand Down
Expand Up @@ -39,7 +39,7 @@ class GuideServiceHost : public ServiceHost
{
public:

GuideServiceHost( const QString sSharePath )
GuideServiceHost( const QString &sSharePath )
: ServiceHost( Guide::staticMetaObject,
"Guide",
"/Guide",
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/serviceHosts/mythServiceHost.h
Expand Up @@ -39,7 +39,7 @@ class MythServiceHost : public ServiceHost
{
public:

MythServiceHost( const QString sSharePath )
MythServiceHost( const QString &sSharePath )
: ServiceHost( Myth::staticMetaObject,
"Myth",
"/Myth",
Expand Down
Expand Up @@ -39,7 +39,7 @@ class VideoServiceHost : public ServiceHost
{
public:

VideoServiceHost( const QString sSharePath )
VideoServiceHost( const QString &sSharePath )
: ServiceHost( Video::staticMetaObject,
"Video",
"/Video",
Expand Down

0 comments on commit aabd4ae

Please sign in to comment.