Changeset 67:578192d6fe64 in SMSSender for lib/libgateway/src/business/AbstractAccount.cpp
- Timestamp:
- Feb 7, 2010 4:11:28 PM (12 years ago)
- Branch:
- 3.0
- Convert:
- svn:3639001d-8e34-449c-bb86-3782b86c4877/branches/3.0@66
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libgateway/src/business/AbstractAccount.cpp
r43 r67 105 105 106 106 void AbstractAccount::initialize(){ 107 if (i nitializing_ || initialized_|| !isEnabled()) {107 if (isInitializing() || isInitialized() || !isEnabled()) { 108 108 return; 109 109 } … … 120 120 121 121 if (!stoppingInitialization_) 122 initialized_ = true;122 setInitialized(true); 123 123 }catch (...) { 124 124 initializing_ = false; … … 142 142 } 143 143 144 void AbstractAccount::setInitialized(bool initialized) { 145 SET_IF_DIFFERENT(initialized_, initialized); 146 emit accountEvents()->dataChanged(); 147 } 148 149 144 150 void AbstractAccount::unInitialize() { 145 151 if (isInitializing()) 146 152 stopInitializing(); 147 153 148 initialized_ = false;154 setInitialized(false); 149 155 } 150 156
Note: See TracChangeset
for help on using the changeset viewer.