Use misc icon for description group box in videos page
authorWuzzy <almikes@aol.com>
Fri, 22 Sep 2017 02:37:45 +0200
changeset 12483 a830a92b6c5c
parent 12482 eeeb7e8de95c
child 12484 f7007754b7c3
Use misc icon for description group box in videos page
QTfrontend/ui/page/pagevideos.cpp
--- a/QTfrontend/ui/page/pagevideos.cpp	Fri Sep 22 02:35:06 2017 +0200
+++ b/QTfrontend/ui/page/pagevideos.cpp	Fri Sep 22 02:37:45 2017 +0200
@@ -110,12 +110,11 @@
     QGridLayout * pPageLayout = new QGridLayout();
     pPageLayout->setColumnStretch(0, 1);
     pPageLayout->setColumnStretch(1, 2);
-    QString pathIcon = ":/res/Videos.png";
 
     // list of videos
     {
         IconedGroupBox* pTableGroup = new IconedGroupBox(this);
-        pTableGroup->setIcon(QIcon(pathIcon));
+        pTableGroup->setIcon(QIcon(":/res/Videos.png"));
         pTableGroup->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
         pTableGroup->setTitle(QGroupBox::tr("Videos"));
 
@@ -152,7 +151,7 @@
     // description
     {
         IconedGroupBox* pDescGroup = new IconedGroupBox(this);
-        pDescGroup->setIcon(QIcon(pathIcon));
+        pDescGroup->setIcon(QIcon(":/res/miscicon.png"));
         pDescGroup->setTitle(QGroupBox::tr("Description"));
 
         QVBoxLayout* pDescLayout = new QVBoxLayout(pDescGroup);