diff -Nru umplayer-0.97~svn180/debian/changelog umplayer-0.97~svn181/debian/changelog --- umplayer-0.97~svn180/debian/changelog 2011-09-29 12:42:30.000000000 +0000 +++ umplayer-0.97~svn181/debian/changelog 2012-02-06 14:51:52.000000000 +0000 @@ -1,3 +1,9 @@ +umplayer (0.97~svn181-0~ppa4) oneiric; urgency=low + + * update + + -- Sawa (ikoinoba) Mon, 06 Feb 2012 23:51:42 +0900 + umplayer (0.97~svn180-0~ppa4) oneiric; urgency=low * update diff -Nru umplayer-0.97~svn180/debian/copyright umplayer-0.97~svn181/debian/copyright --- umplayer-0.97~svn180/debian/copyright 2010-12-09 15:48:51.000000000 +0000 +++ umplayer-0.97~svn181/debian/copyright 2012-02-06 14:54:05.000000000 +0000 @@ -45,7 +45,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public + You should have received a copy of the GNU Lesser General Public License along with this library. If not, see http://www.gnu.org/licenses/. On Debian GNU/Linux systems, the complete text of the GNU Lesser General @@ -59,12 +59,12 @@ modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. - + You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, @@ -75,7 +75,7 @@ Copyright © 2004-2008 Trolltech ASA. This file is part of the example classes of the Qt Toolkit. - + This file may be used under the terms of the GNU General Public License versions 2.0 or 3.0 as published by the Free Software Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3 @@ -88,7 +88,7 @@ Exception version 1.2, which can be found at http://www.trolltech.com/products/qt/gplexception/ and in the file GPL_EXCEPTION.txt in this package. - + Please review the following information to ensure GNU General Public Licensing requirements will be met: http://trolltech.com/products/qt/licenses/licensing/opensource/. If @@ -96,18 +96,18 @@ review the following information: http://trolltech.com/products/qt/licenses/licensing/licensingoverview or contact the sales department at sales@trolltech.com. - + In addition, as a special exception, Trolltech, as the sole copyright holder for Qt Designer, grants users of the Qt/Eclipse Integration plug-in the right for the Qt/Eclipse Integration to link to functionality provided by Qt Designer and its related libraries. - + This file is provided "AS IS" with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Trolltech reserves all rights not expressly granted herein. - + This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. @@ -161,7 +161,7 @@ src/findsubtitles/quazip/unzip.h: src/findsubtitles/quazip/zip.h: Copyright © 1998-2005 Gilles Vollant - + Condition of use and distribution are the same than zlib : This software is provided 'as-is', without any express or implied @@ -212,5 +212,6 @@ Copyright © 2007 Cyril Breuil Copyright © 2008-2009 Maia Kozheva + Copyright © 2011-2012 Sawa (ikoinoba) and is licensed under the GPL, see above. diff -Nru umplayer-0.97~svn180/src/basegui.cpp umplayer-0.97~svn181/src/basegui.cpp --- umplayer-0.97~svn180/src/basegui.cpp 2011-08-17 22:38:50.000000000 +0000 +++ umplayer-0.97~svn181/src/basegui.cpp 2011-12-30 15:00:29.000000000 +0000 @@ -218,7 +218,7 @@ void BaseGui::createYTDialog() { youTubeDialog = YTDialog::instance(); - connect(youTubeDialog, SIGNAL(gotUrls(QMap,QString)), this, SLOT(playYTUrl(QMap,QString))); + connect(youTubeDialog, SIGNAL(gotUrls(QMap, QString, QString)), this, SLOT(playYTUrl(QMap,QString, QString))); shoutcastDialog = SCDialog::instance(); connect(shoutcastDialog, SIGNAL(gotUrls(QString,QString)), this, SLOT(playSCUrl(QString,QString))); } @@ -1397,7 +1397,7 @@ void BaseGui::recordYoutube() { QUrl qurl(core->mdat.filename); - QString id = qurl.queryItemValue("video_id"); + QString id = core->mdat.youtube_id; if(core->mdat.filename.toLower().contains("youtube")) RecordingDialog::downloadVideoId(id, core->mdat.stream_title, core->mdat.duration); } @@ -3816,7 +3816,7 @@ } } -void BaseGui::openURL(QString url, QString title, bool yt) { +void BaseGui::openURL(QString url, QString title, bool yt, QString id) { if (!url.isEmpty()) { //pref->history_urls->addUrl(url); @@ -3825,7 +3825,7 @@ if(!yt) core->openStream(url, title); else - core->openYT(url, title); + core->openYT(url, title, id); playlist->clear(); playlist->addFile(url, Playlist::NoGetInfo); } @@ -3833,7 +3833,7 @@ if(!yt) core->openStream(url, title); else - core->openYT(url, title); + core->openYT(url, title, id); } } } @@ -4999,7 +4999,7 @@ core->play_or_pause(); } -void BaseGui::playYTUrl(const QMap &qualityMap, QString title) +void BaseGui::playYTUrl(const QMap &qualityMap, QString title, QString id) { QString url; switch(pref->playback_quality) @@ -5015,7 +5015,7 @@ } raise(); activateWindow(); - openURL(url, title, true); + openURL(url, title, true, id); } void BaseGui::playSCUrl(QString url, QString title) diff -Nru umplayer-0.97~svn180/src/basegui.h umplayer-0.97~svn181/src/basegui.h --- umplayer-0.97~svn180/src/basegui.h 2011-05-05 13:48:00.000000000 +0000 +++ umplayer-0.97~svn181/src/basegui.h 2011-12-30 15:00:29.000000000 +0000 @@ -96,7 +96,7 @@ virtual void openFile(QString file); virtual void openFiles(QStringList files); virtual void openURL(); - virtual void openURL(QString url, QString title = QString(), bool yt= false); + virtual void openURL(QString url, QString title = QString(), bool yt= false, QString id = QString()); virtual void openVCD(); virtual void openAudioCD(); virtual void openDVD(); @@ -157,7 +157,7 @@ void showYoutube(); void showShoutCast(); void recordYoutube(); - void playYTUrl(const QMap& qualityMap, QString title = QString()); + void playYTUrl(const QMap& qualityMap, QString title, QString id); void playSCUrl(QString url, QString title); void searchYT(QString searchTerm, int engine); diff -Nru umplayer-0.97~svn180/src/core.cpp umplayer-0.97~svn181/src/core.cpp --- umplayer-0.97~svn180/src/core.cpp 2011-08-18 15:01:03.000000000 +0000 +++ umplayer-0.97~svn181/src/core.cpp 2011-12-30 15:00:29.000000000 +0000 @@ -760,11 +760,11 @@ openYTStream(name, TYPE_STREAM, title); } -void Core::openYT(QString name, QString title){ - openYTStream(name, TYPE_YOUTUBE, title); +void Core::openYT(QString name, QString title, QString id){ + openYTStream(name, TYPE_YOUTUBE, title, id); } -void Core::openYTStream(QString name, int type, QString title) +void Core::openYTStream(QString name, int type, QString title, QString id) { qDebug("Core::openYT: '%s'", name.toUtf8().data()); mplayerwindow->showAnimation(true); @@ -782,6 +782,7 @@ mdat.filename = name; mdat.type = type; mdat.stream_title = title; + mdat.youtube_id = id; mset.reset(); @@ -899,9 +900,11 @@ QString file = mdat.filename; int type = mdat.type; QString title = mdat.stream_title; + QString id = mdat.youtube_id; mdat = proc->mediaData(); mdat.filename = file; mdat.type = type; + mdat.youtube_id = id; if(!title.isEmpty()) { mdat.stream_title = title; diff -Nru umplayer-0.97~svn180/src/core.h umplayer-0.97~svn181/src/core.h --- umplayer-0.97~svn180/src/core.h 2011-08-18 15:01:03.000000000 +0000 +++ umplayer-0.97~svn181/src/core.h 2011-12-30 15:00:29.000000000 +0000 @@ -71,8 +71,8 @@ void open(QString file, int seek=-1); void openFile(QString filename, int seek=-1); void openStream(QString name, QString title = QString()); - void openYT(QString name, QString title); - void openYTStream(QString name, int type, QString title = QString()); + void openYT(QString name, QString title, QString id); + void openYTStream(QString name, int type, QString title = QString(), QString id = QString()); /* void openDVD( bool from_folder, QString directory = ""); void openDVD(); // Plays title 1 diff -Nru umplayer-0.97~svn180/src/downloadfile.cpp umplayer-0.97~svn181/src/downloadfile.cpp --- umplayer-0.97~svn180/src/downloadfile.cpp 2010-12-15 14:29:24.000000000 +0000 +++ umplayer-0.97~svn181/src/downloadfile.cpp 2011-12-30 15:00:29.000000000 +0000 @@ -27,163 +27,182 @@ #define MOD_TIME(x) ((x+86400000)%86400000) DownloadFile::DownloadFile(QString site, QFile *fileToDownload, QObject *parent): - QObject(parent), speed(0) +QObject(parent), speed(0) { - url = site; - manager = new QNetworkAccessManager(this); - connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(finished(QNetworkReply*))); - getRequest(url); - file = fileToDownload; - file->open(QFile::ReadWrite); + url = site; + manager = new QNetworkAccessManager(this); + connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(finished(QNetworkReply*))); + file = fileToDownload; + getRequest(url); + } void DownloadFile::getRequest(QString url) -{ - QNetworkRequest req(QUrl::fromEncoded(url.toAscii(), QUrl::StrictMode)); - reply = manager->get(req); - qDebug() << req.url().toEncoded(); - connect(reply, SIGNAL(downloadProgress(qint64,qint64)), this, SLOT(downloaded(qint64,qint64))); - connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(emitError(QNetworkReply::NetworkError))); - connect(reply, SIGNAL(metaDataChanged()), this, SLOT(gotMetaData())); +{ + QUrl realUrl = QUrl::fromEncoded(url.toAscii(), QUrl::StrictMode); + getRequest(realUrl); +} + + +void DownloadFile::getRequest( QUrl url ) +{ + QNetworkRequest req(url); + if(!file->isOpen()) + { + file->open(QFile::ReadWrite); + } + reply = manager->get(req); + connect(reply, SIGNAL(downloadProgress(qint64,qint64)), this, SLOT(downloaded(qint64,qint64))); + connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(emitError(QNetworkReply::NetworkError))); + connect(reply, SIGNAL(metaDataChanged()), this, SLOT(gotMetaData())); + } void DownloadFile::downloaded(qint64 bytesReceived, qint64 total) { - totalSize = total; - completed = bytesReceived; - QTime current = QTime::currentTime(); - QPair head = lastReceivedBytes.head(); - if(MOD_TIME(lastReceivedBytes.last().first.msecsTo(current)) >= 1000) - { - lastReceivedBytes.enqueue(qMakePair(current, bytesReceived)); - speed = (bytesReceived - head.second)*1000/ MOD_TIME(head.first.msecsTo(current)); - } - if(MOD_TIME(lastReceivedBytes.head().first.msecsTo(current)) >= 5000) - { - lastReceivedBytes.dequeue(); - } - emit progress(qRound(bytesReceived*100.0/total), total); - file->write(static_cast(sender())->readAll()); - if(bytesReceived == total) - { - if(reply->attribute(QNetworkRequest::RedirectionTargetAttribute).toUrl().isEmpty()) - { - file->close(); - emit downloadFinished(reply->error() != QNetworkReply::NoError); - deleteLater(); + totalSize = total; + completed = bytesReceived; + QTime current = QTime::currentTime(); + QPair head = lastReceivedBytes.head(); + if(MOD_TIME(lastReceivedBytes.last().first.msecsTo(current)) >= 1000) + { + lastReceivedBytes.enqueue(qMakePair(current, bytesReceived)); + speed = (bytesReceived - head.second)*1000/ MOD_TIME(head.first.msecsTo(current)); } - } - updateFooterText(); + if(MOD_TIME(lastReceivedBytes.head().first.msecsTo(current)) >= 5000) + { + lastReceivedBytes.dequeue(); + } + emit progress(qRound(bytesReceived*100.0/total), total); + file->write(static_cast(sender())->readAll()); + if(bytesReceived == total) + { + if(reply->attribute(QNetworkRequest::RedirectionTargetAttribute).toUrl().isEmpty()) + { + file->close(); + emit downloadFinished(reply->error() != QNetworkReply::NoError); + deleteLater(); + } + } + updateFooterText(); } void DownloadFile::updateFooterText() { - qint64 remainingTime = -1; - QString remainingTimeString; - if(speed > 0 ) - remainingTime = (totalSize - completed)/speed + 1 ; - if(remainingTime == -1) - remainingTimeString = "unknown time remaining - "; - else - { - bool flag = false; // if hour is there but not minutes - if(remainingTime > 3600) - { - remainingTimeString += QString::number(remainingTime / 3600) + " hours, "; - remainingTime = remainingTime % 3600; - flag = true; - } - if(remainingTime > 60 || flag) - { - remainingTimeString += QString("%1 minutes, ").arg(remainingTime / 60, 2, 10, QChar('0')); - remainingTime = remainingTime % 60; - } - remainingTimeString += QString("%1 seconds remaining - ").arg(remainingTime, 2, 10, QChar('0')); - } - - if(totalSize > 1048576 ) - { - remainingTimeString += QString::number(completed / (qreal)1048576, 'f', 2); - remainingTimeString += " of "; - remainingTimeString += QString::number(totalSize / (qreal)1048576, 'f', 2); - remainingTimeString += " MB "; - } - else if(totalSize > 1024 ) - { - remainingTimeString += QString::number(completed / (qreal)1024, 'f', 2); - remainingTimeString += " of "; - remainingTimeString += QString::number(totalSize / (qreal)1024, 'f', 2); - remainingTimeString += " KB "; - } - else if(totalSize >= 0) - { - remainingTimeString += QString::number(completed); - remainingTimeString += " of "; - remainingTimeString += QString::number(totalSize); - remainingTimeString += " bytes "; - } - else - { - remainingTimeString += QString::number(completed); - remainingTimeString += " of "; - remainingTimeString += " Unknown size "; - } - remainingTimeString += "("; - if(speed > 1048576 ) - { - remainingTimeString += QString::number(speed/ (qreal)1048576, 'f', 2); - remainingTimeString += " MB/sec)"; - } - else if(totalSize > 1024 ) - { - remainingTimeString += QString::number(speed/ (qreal)1024, 'f', 2); - remainingTimeString += " KB/sec)"; - } - else - { - remainingTimeString += QString::number(speed); - remainingTimeString += " bytes/sec)"; - } - emit downloadStatus(remainingTimeString); + qint64 remainingTime = -1; + QString remainingTimeString; + if(speed > 0 ) + remainingTime = (totalSize - completed)/speed + 1 ; + if(remainingTime == -1) + remainingTimeString = "unknown time remaining - "; + else + { + bool flag = false; // if hour is there but not minutes + if(remainingTime > 3600) + { + remainingTimeString += QString::number(remainingTime / 3600) + " hours, "; + remainingTime = remainingTime % 3600; + flag = true; + } + if(remainingTime > 60 || flag) + { + remainingTimeString += QString("%1 minutes, ").arg(remainingTime / 60, 2, 10, QChar('0')); + remainingTime = remainingTime % 60; + } + remainingTimeString += QString("%1 seconds remaining - ").arg(remainingTime, 2, 10, QChar('0')); + } + + if(totalSize > 1048576 ) + { + remainingTimeString += QString::number(completed / (qreal)1048576, 'f', 2); + remainingTimeString += " of "; + remainingTimeString += QString::number(totalSize / (qreal)1048576, 'f', 2); + remainingTimeString += " MB "; + } + else if(totalSize > 1024 ) + { + remainingTimeString += QString::number(completed / (qreal)1024, 'f', 2); + remainingTimeString += " of "; + remainingTimeString += QString::number(totalSize / (qreal)1024, 'f', 2); + remainingTimeString += " KB "; + } + else if(totalSize >= 0) + { + remainingTimeString += QString::number(completed); + remainingTimeString += " of "; + remainingTimeString += QString::number(totalSize); + remainingTimeString += " bytes "; + } + else + { + remainingTimeString += QString::number(completed); + remainingTimeString += " of "; + remainingTimeString += " Unknown size "; + } + remainingTimeString += "("; + if(speed > 1048576 ) + { + remainingTimeString += QString::number(speed/ (qreal)1048576, 'f', 2); + remainingTimeString += " MB/sec)"; + } + else if(totalSize > 1024 ) + { + remainingTimeString += QString::number(speed/ (qreal)1024, 'f', 2); + remainingTimeString += " KB/sec)"; + } + else + { + remainingTimeString += QString::number(speed); + remainingTimeString += " bytes/sec)"; + } + emit downloadStatus(remainingTimeString); } void DownloadFile::gotMetaData() { - qDebug() << reply->rawHeaderList(); - if(reply->header(QNetworkRequest::ContentTypeHeader).isValid()) - { - if( lastReceivedBytes.isEmpty()) - lastReceivedBytes.enqueue(qMakePair(QTime::currentTime(), 0LL)); - } + if(reply->header(QNetworkRequest::ContentTypeHeader).isValid()) + { + if( lastReceivedBytes.isEmpty()) + lastReceivedBytes.enqueue(qMakePair(QTime::currentTime(), 0LL)); + } } void DownloadFile::finished(QNetworkReply *rep) { - if(reply->error() != QNetworkReply::NoError) return; - QUrl url = reply->attribute(QNetworkRequest::RedirectionTargetAttribute).toUrl(); - if(!url.isEmpty() && url != reply->request().url() ) - { - reply->deleteLater(); - reply = 0; - getRequest(url.toString()); - } - else - { - reply->deleteLater(); - reply = 0; - } + qDebug() << reply->error() << reply->attribute(QNetworkRequest::RedirectionTargetAttribute).toUrl(); + if(reply->error() != QNetworkReply::NoError && reply->error() != QNetworkReply::ContentOperationNotPermittedError ) return; + file->close(); + QUrl url = reply->attribute(QNetworkRequest::RedirectionTargetAttribute).toUrl(); + if(!url.isEmpty() && url != reply->request().url() ) + { + reply->deleteLater(); + reply = 0; + getRequest(url); + } + else + { + reply->deleteLater(); + reply = 0; + + } } void DownloadFile::cancel() { - reply->disconnect(this, SLOT(downloaded(qint64,qint64))); - reply->disconnect(this, SLOT(gotMetaData())); - reply->abort(); - file->remove(); + reply->disconnect(this, SLOT(downloaded(qint64,qint64))); + reply->disconnect(this, SLOT(gotMetaData())); + reply->abort(); + if(file->isOpen()) file->close(); + file->remove(); } void DownloadFile::emitError(QNetworkReply::NetworkError error) { - qDebug() << error; - emit errorOcurred((int)error); + if(error != QNetworkReply::ContentOperationNotPermittedError) + { + file->close(); + emit errorOcurred((int)error); + } + else + qDebug() << "Hello Darling"; } diff -Nru umplayer-0.97~svn180/src/downloadfile.h umplayer-0.97~svn181/src/downloadfile.h --- umplayer-0.97~svn180/src/downloadfile.h 2010-09-17 14:53:37.000000000 +0000 +++ umplayer-0.97~svn181/src/downloadfile.h 2011-12-30 15:00:29.000000000 +0000 @@ -31,42 +31,45 @@ class DownloadFile : public QObject { -Q_OBJECT + Q_OBJECT public: - explicit DownloadFile(QString url, QFile* fileToDownload, QObject *parent = 0); - qint64 fileSize() { return totalSize; } - void cancel(); + explicit DownloadFile(QString url, QFile* fileToDownload, QObject *parent = 0); + qint64 fileSize() { return totalSize; } + void cancel(); + QString fileName() { return file->fileName();} private: - qint64 totalSize; - qint64 completed; - qint64 speed; - QString url; - QQueue< QPair > lastReceivedBytes; - QFile* file; - QNetworkAccessManager* manager; - QNetworkReply* reply; + qint64 totalSize; + qint64 completed; + qint64 speed; + QString url; + QQueue< QPair > lastReceivedBytes; + QFile* file; + QNetworkAccessManager* manager; + QNetworkReply* reply; - void updateFooterText(); - void getRequest(QString url); + void updateFooterText(); + void getRequest(QString url); + void getRequest(QUrl url); signals: - void errorOcurred(int); - void downloadStatus(QString status); - void downloadFinished(bool error); - void progress(int percent, qint64 size); + void errorOcurred(int); + void downloadStatus(QString status); + void downloadFinished(bool error); + void progress(int percent, qint64 size); public slots: - void downloaded(qint64 bytesReceived, qint64 total); - void gotMetaData(); - void finished(QNetworkReply* reply); - void emitError(QNetworkReply::NetworkError); + void downloaded(qint64 bytesReceived, qint64 total); + void gotMetaData(); + void finished(QNetworkReply* reply); + void emitError(QNetworkReply::NetworkError); }; + #endif // DOWNLOADFILE_H diff -Nru umplayer-0.97~svn180/src/mediadata.h umplayer-0.97~svn181/src/mediadata.h --- umplayer-0.97~svn180/src/mediadata.h 2010-09-17 14:53:37.000000000 +0000 +++ umplayer-0.97~svn181/src/mediadata.h 2011-12-30 15:00:29.000000000 +0000 @@ -99,6 +99,7 @@ QString stream_title; QString stream_url; + QString youtube_id; // Other data not really useful for us, diff -Nru umplayer-0.97~svn180/src/retrievevideourl.cpp umplayer-0.97~svn181/src/retrievevideourl.cpp --- umplayer-0.97~svn180/src/retrievevideourl.cpp 2011-08-04 16:27:27.000000000 +0000 +++ umplayer-0.97~svn181/src/retrievevideourl.cpp 2011-12-30 15:00:29.000000000 +0000 @@ -101,7 +101,7 @@ { urlMap[LowFlv] = QString("http://www.youtube.com/get_video?video_id=%1&t=%2&fmt=%3&asv=2").arg(id).arg(tString).arg(LowFlv); }*/ - emit gotUrls(urlMap, m_title, id); + emit gotUrls(urlMap, m_title, id); } QString RetrieveVideoUrl::sanitizeForUnicodePoint(QString string) diff -Nru umplayer-0.97~svn180/src/ytdialog.cpp umplayer-0.97~svn181/src/ytdialog.cpp --- umplayer-0.97~svn180/src/ytdialog.cpp 2011-03-13 09:11:52.000000000 +0000 +++ umplayer-0.97~svn181/src/ytdialog.cpp 2011-12-30 15:00:29.000000000 +0000 @@ -581,7 +581,7 @@ { SingleVideoItem* svi = item->data(0).value(); RetrieveVideoUrl* rvu = new RetrieveVideoUrl(this); - connect(rvu, SIGNAL(gotUrls(QMap, QString, QString)), this, SIGNAL(gotUrls(QMap, QString)) ); + connect(rvu, SIGNAL(gotUrls(QMap, QString, QString)), this, SIGNAL(gotUrls(QMap, QString, QString)) ); connect(rvu, SIGNAL(gotUrls(QMap, QString, QString)), rvu, SLOT(deleteLater())); rvu->fetchYTVideoPage(svi->videoid, svi->header ); } diff -Nru umplayer-0.97~svn180/src/ytdialog.h umplayer-0.97~svn181/src/ytdialog.h --- umplayer-0.97~svn180/src/ytdialog.h 2010-11-04 17:10:47.000000000 +0000 +++ umplayer-0.97~svn181/src/ytdialog.h 2011-12-30 15:00:29.000000000 +0000 @@ -162,7 +162,7 @@ signals: - void gotUrls(const QMap&, QString); + void gotUrls(const QMap&, QString, QString); public slots: void gotCurrentTab(int index);