Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed May 26, 2024
1 parent 84cf0c6 commit bfac2b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/tlPlayQtApp/RenderActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@ namespace tl
{
std::stringstream ss;
ss << type;
const QString name = QString::fromUtf8("ColorBuffer/" + ss.str());
QString name = QString::fromUtf8("ColorBuffer/");
name.append(QString::fromUtf8(ss.str().c_str()));
p.actions[name] = new QAction(this);
p.actions[name]->setData(QVariant::fromValue<image::PixelType>(type));
p.actions[name]->setCheckable(true);
p.actions[name]->setText(QString::fromUtf8(ss.str()));
p.actions[name]->setText(QString::fromUtf8(ss.str().c_str()));
p.actionGroups["ColorBuffer"]->addAction(p.actions[name]);
}

Expand Down

0 comments on commit bfac2b3

Please sign in to comment.