aboutsummaryrefslogtreecommitdiff
path: root/qdeduper/main.cpp
blob: d23682194bc546e7eff32f5e01fce386ef305f3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Chris Xiong 2022
//License: MPL-2.0
#include <QWidget>
#include <QApplication>
#include "mingui.hpp"

DeduperMainWindow *w = nullptr;

int main(int argc, char **argv)
{
    QApplication a(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
    a.setAttribute(Qt::ApplicationAttribute::AA_UseHighDpiPixmaps);
#endif

    w = new DeduperMainWindow();
    w->show();

    a.exec();

    return 0;
}