mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix build problems in cafTestApp following headless changes
This commit is contained in:
@@ -148,7 +148,7 @@ public:
|
|||||||
options.push_back(caf::PdmOptionItemInfo(text, text));
|
options.push_back(caf::PdmOptionItemInfo(text, text));
|
||||||
|
|
||||||
text = "Second";
|
text = "Second";
|
||||||
options.push_back(caf::PdmOptionItemInfo::createHeader(text, false, QIcon(QString(":/images/win/textbold.png"))));
|
options.push_back(caf::PdmOptionItemInfo::createHeader(text, false, caf::QIconProvider(":/images/win/textbold.png")));
|
||||||
|
|
||||||
{
|
{
|
||||||
text = "Second_a";
|
text = "Second_a";
|
||||||
@@ -159,7 +159,7 @@ public:
|
|||||||
|
|
||||||
{
|
{
|
||||||
text = "Second_b";
|
text = "Second_b";
|
||||||
caf::PdmOptionItemInfo itemInfo = caf::PdmOptionItemInfo(text, text, false, QIcon(QString(":/images/win/filenew.png")));
|
caf::PdmOptionItemInfo itemInfo = caf::PdmOptionItemInfo(text, text, false, caf::QIconProvider(":/images/win/filenew.png"));
|
||||||
itemInfo.setLevel(1);
|
itemInfo.setLevel(1);
|
||||||
options.push_back(itemInfo);
|
options.push_back(itemInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ QList<caf::PdmOptionItemInfo> ManyGroups::calculateValueOptions(const caf::PdmFi
|
|||||||
options.push_back(caf::PdmOptionItemInfo(text, text));
|
options.push_back(caf::PdmOptionItemInfo(text, text));
|
||||||
|
|
||||||
text = "Second";
|
text = "Second";
|
||||||
options.push_back(caf::PdmOptionItemInfo::createHeader(text, false, QIcon(QString(":/images/win/textbold.png"))));
|
options.push_back(caf::PdmOptionItemInfo::createHeader(text, false, caf::QIconProvider(":/images/win/textbold.png")));
|
||||||
|
|
||||||
{
|
{
|
||||||
text = "Second_a";
|
text = "Second_a";
|
||||||
@@ -147,7 +147,7 @@ QList<caf::PdmOptionItemInfo> ManyGroups::calculateValueOptions(const caf::PdmFi
|
|||||||
{
|
{
|
||||||
text = "Second_b";
|
text = "Second_b";
|
||||||
caf::PdmOptionItemInfo itemInfo =
|
caf::PdmOptionItemInfo itemInfo =
|
||||||
caf::PdmOptionItemInfo(text, text, false, QIcon(QString(":/images/win/filenew.png")));
|
caf::PdmOptionItemInfo(text, text, false, caf::QIconProvider(":/images/win/filenew.png"));
|
||||||
itemInfo.setLevel(1);
|
itemInfo.setLevel(1);
|
||||||
options.push_back(itemInfo);
|
options.push_back(itemInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user