From b7ae8dc9b7af0e9b7cf05e8d86058e455753e8d2 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 26 Sep 2022 02:20:55 -0400 Subject: Immaculate application icon by @BLumia. Sorry. --- qdeduper/CMakeLists.txt | 1 + qdeduper/img/deduper.png | Bin 0 -> 17845 bytes qdeduper/img/deduper.svg | 44 ++++++++++++++++++++++++++++++++++++++++++++ qdeduper/mingui.cpp | 2 ++ qdeduper/resources.qrc | 5 +++++ 5 files changed, 52 insertions(+) create mode 100644 qdeduper/img/deduper.png create mode 100644 qdeduper/img/deduper.svg create mode 100644 qdeduper/resources.qrc diff --git a/qdeduper/CMakeLists.txt b/qdeduper/CMakeLists.txt index 75f7de0..06e3048 100644 --- a/qdeduper/CMakeLists.txt +++ b/qdeduper/CMakeLists.txt @@ -19,6 +19,7 @@ add_executable(qdeduper sigdb_qt.cpp filescanner.cpp pathchooser.cpp + resources.qrc ) target_link_libraries(qdeduper diff --git a/qdeduper/img/deduper.png b/qdeduper/img/deduper.png new file mode 100644 index 0000000..727b9cb Binary files /dev/null and b/qdeduper/img/deduper.png differ diff --git a/qdeduper/img/deduper.svg b/qdeduper/img/deduper.svg new file mode 100644 index 0000000..99beb3f --- /dev/null +++ b/qdeduper/img/deduper.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/qdeduper/mingui.cpp b/qdeduper/mingui.cpp index 2d38a24..253dfe1 100644 --- a/qdeduper/mingui.cpp +++ b/qdeduper/mingui.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -75,6 +76,7 @@ Q_DECLARE_METATYPE(fs::path) DeduperMainWindow::DeduperMainWindow() { qRegisterMetaType(); + qApp->setWindowIcon(QIcon(":/img/deduper.png")); this->setWindowTitle("QDeduper"); this->setup_menu(); this->update_actions(); diff --git a/qdeduper/resources.qrc b/qdeduper/resources.qrc new file mode 100644 index 0000000..ce622ca --- /dev/null +++ b/qdeduper/resources.qrc @@ -0,0 +1,5 @@ + + + img/deduper.png + + -- cgit v1.2.3