Changeset 3329d39 for src/gui


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

Location:
src/gui
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/gui/gui.pro

    r2eda137 r3329d39  
    8282    settingsdialog.cpp
    8383
     84HEADERS += errormessage.h
     85SOURCES += errormessage.cpp
     86CONFIG(maemo5) {
     87    QT += maemo5
     88}
     89
    8490#maemo {
    8591#    FORMS += alarmdialog.ui
  • 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.