diff options
author | deva <deva> | 2006-05-20 14:35:59 +0000 |
---|---|---|
committer | deva <deva> | 2006-05-20 14:35:59 +0000 |
commit | dd8e7832c69a5ef484a2f3b6054a482d29275f85 (patch) | |
tree | 6865f4f18d8545a0edecbb3646f69039ccc82727 /client/control.cc | |
parent | 60c43b0a065175a49ae0aa2b10280e893479889b (diff) |
*** empty log message ***
Diffstat (limited to 'client/control.cc')
-rw-r--r-- | client/control.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/control.cc b/client/control.cc index b6495d2..d634039 100644 --- a/client/control.cc +++ b/client/control.cc @@ -46,11 +46,13 @@ void Control::setCpr(QString cpr) mutex.unlock(); } -void Control::getCpr(QString *cpr) +QString Control::getCpr() { + QString cpr; mutex.lock(); - *cpr = Control::cpr; + cpr = Control::cpr; mutex.unlock(); + return cpr; } void Control::freeze() |