diff options
-rw-r--r-- | qdeduper/mingui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qdeduper/mingui.cpp b/qdeduper/mingui.cpp index c10be0c..f409187 100644 --- a/qdeduper/mingui.cpp +++ b/qdeduper/mingui.cpp @@ -56,8 +56,11 @@ QString fsstr_to_qstring(const fs::path::string_type &s) #endif } +Q_DECLARE_METATYPE(fs::path) + DeduperMainWindow::DeduperMainWindow() { + qRegisterMetaType<fs::path>(); this->setFont(QFontDatabase::systemFont(QFontDatabase::SystemFont::FixedFont)); this->setWindowTitle("deduper"); this->setup_menu(); |