Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2011, 10:41:43 PM (13 years ago)
Author:
dafrick
Message:

Renaming member variables to adhere to styleguide, initialize values, always select an item in the DockingDialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/modules/docking/DockToShip.cc

    r8561 r8568  
    5959
    6060    void DockToShip::setTargetId(const std::string& str) {
    61         this->target = str;
     61        this->target_ = str;
    6262    }
    6363
    6464    const std::string& DockToShip::getTargetId() const {
    65         return this->target;
     65        return this->target_;
    6666    }
    6767
     
    7171        COUT(4) << "DockToShip::attach" << endl;
    7272
    73         DockingTarget *target = DockingEffect::findTarget(this->target);
     73        DockingTarget *target = DockingEffect::findTarget(this->target_);
    7474        if (target == NULL) {
    75             COUT(0) << "Can't retrieve target for '" << this->target << "'.." << std::endl;
     75            COUT(0) << "Can't retrieve target for '" << this->target_ << "'.." << std::endl;
    7676            return false;
    7777        }
Note: See TracChangeset for help on using the changeset viewer.