diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-08-29 12:42:41 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-08-29 12:42:41 -0400 |
commit | 8280d5075fc8b7a04514d33db614de7d64352545 (patch) | |
tree | e0c63edc8e1a37805d2c88f6797b383713fe4780 /mingui | |
parent | cf77acfa0fab7b3dd42781b483835a85b12308f2 (diff) | |
download | deduper-8280d5075fc8b7a04514d33db614de7d64352545.tar.xz |
More w*ndows shenanigans.
Diffstat (limited to 'mingui')
-rw-r--r-- | mingui/mingui.cpp | 2 |
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); |