equal
deleted
inserted
replaced
61 std::cout << " trolltech.png (full page)" << std::endl; |
61 std::cout << " trolltech.png (full page)" << std::endl; |
62 std::cout << " trolltech_frame1.png (...) trolltech_frameN.png ('N' number of internal frames)" << std::endl; |
62 std::cout << " trolltech_frame1.png (...) trolltech_frameN.png ('N' number of internal frames)" << std::endl; |
63 return 0; |
63 return 0; |
64 } |
64 } |
65 |
65 |
66 QUrl url = QWebView::guessUrlFromString(QString::fromLatin1(argv[1])); |
66 QUrl url = QUrl::fromUserInput(QString::fromLatin1(argv[1])); |
67 QString fileName = QString::fromLatin1(argv[2]); |
67 QString fileName = QString::fromLatin1(argv[2]); |
68 |
68 |
69 QApplication a(argc, argv); |
69 QApplication a(argc, argv); |
70 FrameCapture capture; |
70 FrameCapture capture; |
71 QObject::connect(&capture, SIGNAL(finished()), QApplication::instance(), SLOT(quit())); |
71 QObject::connect(&capture, SIGNAL(finished()), QApplication::instance(), SLOT(quit())); |