Ignore:
Timestamp:
04/16/10 14:14:19 (12 years ago)
Author:
kirilma <kirilma@…>
Branches:
master, qt5
Children:
a61c5f5
Parents:
2eda137
Message:

use visible notifications of errors

also early detect parsing errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/importschedulewidget.cpp

    r2eda137 r3329d39  
    3535
    3636#include "conference.h"
     37#include "errormessage.h"
    3738
    3839// const QString SCHEDULE_URL = "http://fosdem.org/2010/schedule/xml";
     
    114115    if ( aReply->error() != QNetworkReply::NoError )
    115116    {
    116         qDebug() << "Error occured during download: " << aReply->errorString();
     117        error_message(QString("Error occured during download: ") + aReply->errorString());
    117118    }
    118119    else
     
    209210    importScheduleLabel->setText("Schedule:");
    210211
    211     emit(scheduleImported(confId));
    212 }
    213 
     212    if (confId > 0) {
     213        emit(scheduleImported(confId));
     214    }
     215}
     216
Note: See TracChangeset for help on using the changeset viewer.