- removed some unnecessary commented-out test codes
authorlvaatamoinen <lassi.vaatamoinen@ixonos.com>
Mon, 23 Nov 2009 12:37:41 +0000 (12:37 +0000)
committerlvaatamoinen <lassi.vaatamoinen@ixonos.com>
Mon, 23 Nov 2009 12:37:41 +0000 (12:37 +0000)
git-svn-id: file:///svnroot/qtrapids/trunk@47 42ac0dd5-4c8c-4c71-bb3e-ecdfe252ffda

src/gui/main.cpp

index ceccaa5..cb8e5c5 100644 (file)
@@ -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<DownloadViewItem*>
-                               (dlw->itemAt(QPoint(0,0)));
-               editItem->setData ( 8, Qt::DisplayRole, QVariant("EDITED" + QString::number(i, 'g', 2)));
-               QTest::qSleep(2000);
-       }
-       */
-
-
        return app.exec();
 }