Changeset 5066 in ntrip for trunk/BNC/src/bncutils.cpp
- Timestamp:
- Mar 30, 2013, 11:31:00 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r4338 r5066 91 91 QDateTime currDateTimeGPS; 92 92 93 if ( ((bncApp*) qApp)->_currentDateAndTimeGPS ) {94 currDateTimeGPS = *( ((bncApp*) qApp)->_currentDateAndTimeGPS);93 if ( PGM_CORE->_currentDateAndTimeGPS ) { 94 currDateTimeGPS = *(PGM_CORE->_currentDateAndTimeGPS); 95 95 } 96 96 else { … … 116 116 //////////////////////////////////////////////////////////////////////////// 117 117 QDateTime currentDateAndTimeGPS() { 118 if ( ((bncApp*) qApp)->_currentDateAndTimeGPS ) {119 return *( ((bncApp*) qApp)->_currentDateAndTimeGPS);118 if ( PGM_CORE->_currentDateAndTimeGPS ) { 119 return *(PGM_CORE->_currentDateAndTimeGPS); 120 120 } 121 121 else {
Note:
See TracChangeset
for help on using the changeset viewer.