diff -r c79df732d095 -r 18f824bd3070 aboutdialog.cpp --- a/aboutdialog.cpp Fri Sep 08 12:30:09 2006 +0000 +++ b/aboutdialog.cpp Mon Oct 16 12:42:54 2006 +0000 @@ -5,10 +5,8 @@ #include "aboutdialog.h" #include "version.h" #include "settings.h" -#include "mainwindow.h" -extern Main *mainWindow; extern Settings settings; extern QString iconPath; @@ -191,5 +189,11 @@ { QProcess *proc= new QProcess (); proc->start( settings.value("/mainwindow/readerURL").toString(),QStringList ()<waitForStarted() &&mainWindow->settingsURL() ) setSource(url); + //if (!proc->waitForStarted() &&mainWindow->settingsURL() ) setSource(url); + if (!proc->waitForStarted() ) + QMessageBox::warning(0, + tr("Warning"), + tr("Couldn't find a viewer to open %1.\n").arg(url)+ + tr("Please use Settings->")+tr("Set application to open an URL")); + }