From 95946f511618f44ed96a9480c17836c0791009d4 Mon Sep 17 00:00:00 2001 From: lvaatamoinen Date: Mon, 23 Nov 2009 12:37:41 +0000 Subject: [PATCH] - removed some unnecessary commented-out test codes git-svn-id: file:///svnroot/qtrapids/trunk@47 42ac0dd5-4c8c-4c71-bb3e-ecdfe252ffda --- src/gui/main.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index ceccaa5..cb8e5c5 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -36,33 +36,5 @@ int main(int argc, char *argv[]) MainWindow *mainWindow = new MainWindow(); mainWindow->show(); - /* - DownloadView* dlw = new DownloadView(NULL); - //qtrapids * mw = new qtrapids(); - dlw->show(); - DownloadViewItem* dlwItem = new DownloadViewItem(QStringList() << "Name" - << "Size" << "Status" - << "Progress" << "DL speed" - << "UL speed" << "Seeds/Leechers" - << "ratio"); - DownloadViewItem* dlwItem2 = new DownloadViewItem(QStringList() << "Name" - << "1000" << "Downloading" - << "23%" << "11" - << "0.1" << "0/2" - << "1.10"); - //dlwItem->insertChild(0, new DownloadViewItem(QStringList() << "Name")); - dlw->insertTopLevelItem(0,dlwItem); - dlw->insertTopLevelItem(1,dlwItem2); - - for (unsigned i = 0; i < 10; ++i) - { - DownloadViewItem *editItem = dynamic_cast - (dlw->itemAt(QPoint(0,0))); - editItem->setData ( 8, Qt::DisplayRole, QVariant("EDITED" + QString::number(i, 'g', 2))); - QTest::qSleep(2000); - } - */ - - return app.exec(); } -- 1.7.9.5