aboutsummaryrefslogtreecommitdiff
path: root/qdeduper/main.cpp
blob: 6edc144a13287abd33a8ece50dd1264fe3624d64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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;
}