this will break all functionality for now
[groove] / gscom.cpp
index 1e6d055..1069350 100644 (file)
--- a/gscom.cpp
+++ b/gscom.cpp
@@ -19,7 +19,7 @@ gscom::gscom()
     model->setHorizontalHeaderLabels(
         QStringList() << "Online");
     addDebugMsg("You may now search for a song");
-    addProgressbar("test");
+    //addProgressbar("test");
     //getSessionKey();
 }
 
@@ -274,7 +274,7 @@ void gscom::addProgressbar(QString debug)
             gradient.setColorAt(0, QColor::fromRgbF(0, 1, 0, 1));
             gradient.setColorAt(0.9, QColor::fromRgbF(0, 1, 0, 1));
             gradient.setColorAt(1, QColor::fromRgbF(0, 0, 0, 0));
-            QBrush brush(gradient);
+            QBrush brush(Qt::red);
             QStandardItem *pBar = new QStandardItem(text);
             pBar->setBackground(brush);
             pBar->setSelectable(false);