QTfrontend/ui/page/pagevideos.cpp
changeset 12483 a830a92b6c5c
parent 12472 821732e6413d
child 12897 fc47fc4af6bd
--- 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);