From: lvaatamoinen Date: Mon, 2 Nov 2009 12:40:36 +0000 (+0000) Subject: - Minor edit X-Git-Url: http://git.maemo.org/git/?p=qtrapids;a=commitdiff_plain;h=93a84891f3ad3cc6d1116d6d209f866a0f0a8a15 - Minor edit git-svn-id: file:///svnroot/qtrapids/trunk@17 42ac0dd5-4c8c-4c71-bb3e-ecdfe252ffda --- diff --git a/src/gui/DownloadView.cpp b/src/gui/DownloadView.cpp index d7424b0..5d616d8 100644 --- a/src/gui/DownloadView.cpp +++ b/src/gui/DownloadView.cpp @@ -129,7 +129,8 @@ void DownloadView::removeItem(QTorrentHandle handle) void DownloadView::on_itemClicked(QTreeWidgetItem * item, int column) -{/* +{ + /* qDebug() << "DownloadView::on_itemClicked(()" << item << "," << column; qDebug() << "current item" << currentItem(); @@ -144,21 +145,21 @@ QString DownloadView::GetStatusString(QTorrentHandle::State const& status) const { switch (status) { case QTorrentHandle::QUEUED_FOR_CHECKING : - return "Queued"; + return tr("Queued"); case QTorrentHandle::CHECKING_FILES : - return "Checking"; + return tr("Checking"); case QTorrentHandle::DOWNLOADING_METADATA : - return "DL meta"; + return tr("DL meta"); case QTorrentHandle::DOWNLOADING : - return "Downloading"; + return tr("Downloading"); case QTorrentHandle::FINISHED : - return "Finished"; + return tr("Finished"); case QTorrentHandle::SEEDING : - return "Seeding"; + return tr("Seeding"); case QTorrentHandle::ALLOCATING : - return "Allocating"; + return tr("Allocating"); default: - return "N/A"; + return tr("N/A"); } } @@ -181,5 +182,4 @@ QColor DownloadView::GetStatusColor(QTorrentHandle::State const& status) const default: return QColor(); } - } \ No newline at end of file