QTfrontend/ui/page/pagevideos.cpp
changeset 12036 3957a6653c10
parent 11046 47a8c19ecb60
child 12252 5ac38cf14d91
--- a/QTfrontend/ui/page/pagevideos.cpp	Wed Nov 23 15:08:51 2016 +0100
+++ b/QTfrontend/ui/page/pagevideos.cpp	Wed Nov 23 15:34:08 2016 +0100
@@ -110,11 +110,12 @@
     QGridLayout * pPageLayout = new QGridLayout();
     pPageLayout->setColumnStretch(0, 1);
     pPageLayout->setColumnStretch(1, 2);
+    QString pathIcon = ":/res/graphicsicon.png";
 
     // list of videos
     {
         IconedGroupBox* pTableGroup = new IconedGroupBox(this);
-        pTableGroup->setIcon(QIcon(":/res/graphicsicon.png")); // FIXME
+        pTableGroup->setIcon(QIcon(pathIcon));
         pTableGroup->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
         pTableGroup->setTitle(QGroupBox::tr("Videos"));
 
@@ -151,7 +152,7 @@
     // description
     {
         IconedGroupBox* pDescGroup = new IconedGroupBox(this);
-        pDescGroup->setIcon(QIcon(":/res/graphicsicon.png")); // FIXME
+        pDescGroup->setIcon(QIcon(pathIcon));
         pDescGroup->setTitle(QGroupBox::tr("Description"));
 
         QVBoxLayout* pDescLayout = new QVBoxLayout(pDescGroup);