Changeset 5066 in ntrip for trunk/BNC/src/bncutils.cpp


Ignore:
Timestamp:
Mar 30, 2013, 11:31:00 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncutils.cpp

    r4338 r5066  
    9191  QDateTime currDateTimeGPS;
    9292
    93   if ( ((bncApp*) qApp)->_currentDateAndTimeGPS ) {
    94     currDateTimeGPS = *(((bncApp*) qApp)->_currentDateAndTimeGPS);
     93  if ( PGM_CORE->_currentDateAndTimeGPS ) {
     94    currDateTimeGPS = *(PGM_CORE->_currentDateAndTimeGPS);
    9595  }
    9696  else {
     
    116116////////////////////////////////////////////////////////////////////////////
    117117QDateTime currentDateAndTimeGPS() {
    118   if ( ((bncApp*) qApp)->_currentDateAndTimeGPS ) {
    119     return *(((bncApp*) qApp)->_currentDateAndTimeGPS);
     118  if ( PGM_CORE->_currentDateAndTimeGPS ) {
     119    return *(PGM_CORE->_currentDateAndTimeGPS);
    120120  }
    121121  else {
Note: See TracChangeset for help on using the changeset viewer.