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/upload/bncuploadcaster.cpp

    r4985 r5066  
    4545  _isToBeDeleted = false;
    4646
    47   bncApp* app = (bncApp*) qApp;
    4847  connect(this, SIGNAL(newMessage(QByteArray,bool)),
    49           app, SLOT(slotMessage(const QByteArray,bool)));
     48          PGM_CORE, SLOT(slotMessage(const QByteArray,bool)));
    5049
    51   if (app->_uploadTableItems.find(_iRow) != app->_uploadTableItems.end()){
     50  if (PGM_CORE->_uploadTableItems.find(_iRow) != PGM_CORE->_uploadTableItems.end()){
    5251    connect(this, SIGNAL(newBytes(QByteArray,double)),
    53             app->_uploadTableItems.value(iRow),
     52            PGM_CORE->_uploadTableItems.value(iRow),
    5453            SLOT(slotNewBytes(const QByteArray,double)));
    5554  }
Note: See TracChangeset for help on using the changeset viewer.