Skip to content

Commit

Permalink
Composition/forward methods: switch OBSResult's getProject() and
Browse files Browse the repository at this point in the history
setProject() to OBSStatus'
  • Loading branch information
javierllorente committed Jul 21, 2018
1 parent 890fa81 commit 1a8a594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/qobs/obsresult.cpp
Expand Up @@ -33,12 +33,12 @@ OBSResult::~OBSResult()

QString OBSResult::getProject() const
{
return project;
return status->getProject();
}

void OBSResult::setProject(const QString &value)
{
project = value;
status->setProject(value);
}

QString OBSResult::getRepository() const
Expand Down
1 change: 0 additions & 1 deletion src/qobs/obsresult.h
Expand Up @@ -48,7 +48,6 @@ class OBSResult
OBSStatus *getStatus() const;

private:
QString project;
QString repository;
QString arch;
QString code;
Expand Down

0 comments on commit 1a8a594

Please sign in to comment.