~mateo-salta/nitroshare/nitroshare

« back to all changes in this revision

Viewing changes to src/main/CTrayIcon.cpp

  • Committer: Nathan Osman
  • Date: 2012-06-28 21:00:27 UTC
  • Revision ID: admin@quickmediasolutions.com-20120628210027-agxop1i2cj8ym985
Corrected a couple of issues with the progress bar on the share box sticking at 100%.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
    it to display progress of the transfer. */
153
153
    CShareBox * box = qobject_cast<CShareBox *>(sender());
154
154
    if(box)
155
 
        connect(client, SIGNAL(Progress(int)), box, SLOT(OnProgress(int)));
 
155
    {
 
156
        connect(client, SIGNAL(Progress(int)),  box, SLOT(OnProgress(int)));
 
157
        connect(client, SIGNAL(Error(QString)), box, SLOT(OnError()));
 
158
    }
156
159
 
157
160
    client->Start(m_broadcast_server.GetMachine(id));
158
161
}