Index: mythbrowser/mythbrowser/main.cpp =================================================================== RCS file: /var/lib/mythcvs/mythplugins/mythbrowser/mythbrowser/main.cpp,v retrieving revision 1.9 diff -u -d -r1.9 main.cpp --- mythbrowser/mythbrowser/main.cpp 3 May 2005 17:54:54 -0000 1.9 +++ mythbrowser/mythbrowser/main.cpp 5 Jun 2005 12:26:17 -0000 @@ -14,6 +14,7 @@ #include #include #include +#include #include #include "tabview.h" @@ -63,8 +64,9 @@ char usage[] = "Usage: mythbrowser [-z n] [-w n] [-h n] -u URL [URL]"; QStringList urls; - KCmdLineArgs::init(argc, argv, "mythbrowser", "mythbrowser", usage , version); + KCmdLineArgs::init(argc, argv, new KAboutData("mythbrowser", "mythbrowser", version, usage)); KCmdLineArgs::addCmdLineOptions(options); + KApplication a; KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); zoom = args->getOption("z").toInt(); if(args->isSet("w")) @@ -73,10 +75,12 @@ height = args->getOption("h").toInt(); for(int i=0;icount();i++) { urls += args->arg(i); - } + } args->clear(); - KApplication a(argc,argv); + if (urls.count() == 0) + urls.append("http://www.mythtv.org"); + if(width == -1) width = a.desktop()->width(); if(height == -1) @@ -101,11 +105,6 @@ gContext->SetSetting("Theme", "blue"); gContext->LoadQtConfig(); -// MythMainWindow *mainWindow = new MythMainWindow(); -// mainWindow->Show(); -// gContext->SetMainWindow(mainWindow); -// a.setMainWidget(mainWindow); - // Obtain width/height and x/y offset from context gContext->GetScreenSettings(x, width, xm, y, height, ym); Index: mythbrowser/mythbrowser/webpage.cpp =================================================================== RCS file: /var/lib/mythcvs/mythplugins/mythbrowser/mythbrowser/webpage.cpp,v retrieving revision 1.4 diff -u -d -r1.4 webpage.cpp --- mythbrowser/mythbrowser/webpage.cpp 10 Apr 2005 06:07:38 -0000 1.4 +++ mythbrowser/mythbrowser/webpage.cpp 5 Jun 2005 12:26:17 -0000 @@ -198,7 +198,11 @@ void WebPage::started(KIO::Job *job) { job = job; +#if QT_VERSION >= 0x030300 setCursor(QCursor(Qt::BusyCursor)); +#else + setCursor(QCursor(Qt::WaitCursor)); +#endif } void WebPage::completed()