Skip to content

Commit 7c4db39

Browse files
committed
add win patch
Signed-off-by: wep21 <[email protected]>
1 parent ff8a320 commit 7c4db39

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/start_screen_widget.cpp b/src/start_screen_widget.cpp
2+
index edd73eb3c..d88a90eaa 100644
3+
--- a/src/start_screen_widget.cpp
4+
+++ b/src/start_screen_widget.cpp
5+
@@ -79,7 +79,7 @@ void StartScreenWidget::onInit()
6+
right_image_label_ = new QLabel(this);
7+
auto image_path = getSharePath("moveit_setup_assistant") / "resources/MoveIt_Setup_Assistant2.png";
8+
9+
- if (right_image_->load(image_path.c_str()))
10+
+ if (right_image_->load(QString::fromStdString(image_path.string())))
11+
{
12+
right_image_label_->setPixmap(QPixmap::fromImage(*right_image_));
13+
right_image_label_->setMinimumHeight(384); // size of right_image_label_

0 commit comments

Comments
 (0)