diff -r bb94eec7c8f3 -r 0e1aeb21cb78 aboutdialog.cpp --- a/aboutdialog.cpp Thu Sep 21 13:48:05 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")); + }