aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-08-29 12:42:41 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-08-29 12:42:41 -0400
commit8280d5075fc8b7a04514d33db614de7d64352545 (patch)
treee0c63edc8e1a37805d2c88f6797b383713fe4780
parentcf77acfa0fab7b3dd42781b483835a85b12308f2 (diff)
downloaddeduper-8280d5075fc8b7a04514d33db614de7d64352545.tar.xz
More w*ndows shenanigans.
-rw-r--r--mingui/mingui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingui/mingui.cpp b/mingui/mingui.cpp
index 58a6ca5..ef049b8 100644
--- a/mingui/mingui.cpp
+++ b/mingui/mingui.cpp
@@ -243,7 +243,7 @@ void MinGuiWidget::keyReleaseEvent(QKeyEvent *e)
}
ImageWidget::ImageWidget(fs::path f, fs::path::string_type dispf, size_t _idx, int max_width, int max_height, QWidget *par)
- : QWidget(par), fn(QString::fromStdString(f)), idx(_idx)
+ : QWidget(par), fn(fsstr_to_qstring(f)), idx(_idx)
{
this->setLayout(new QVBoxLayout(this));
this->layout()->setMargin(10);