#include <QInputDialog>
#include "conference.h"
+#include "errormessage.h"
// const QString SCHEDULE_URL = "http://fosdem.org/2010/schedule/xml";
{
if ( aReply->error() != QNetworkReply::NoError )
{
- qDebug() << "Error occured during download: " << aReply->errorString();
+ error_message(QString("Error occured during download: ") + aReply->errorString());
}
else
{
// proxySettings->show();
importScheduleLabel->setText("Schedule:");
- emit(scheduleImported(confId));
+ if (confId > 0) {
+ emit(scheduleImported(confId));
+ }
}