-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
30 lines (23 loc) · 723 Bytes
/
main.cpp
File metadata and controls
30 lines (23 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
DGP - Deterministically Generated Passwords
Filename: main.cpp
Description: Main entry point for the QT version of DGP
Author: Adam Oldham (ekcdd@gmx.com)
Copyright (c) 2020 Adam Oldham
All rights reserved.
Distributed under the MIT/X11 software license, see the accompanying
file license.txt or http://www.opensource.org/licenses/mit-license.php.
*/
#include "mainwindow.h"
#include <QApplication>
#include <QStyleFactory>
#include "dgp.h"
int main(int argc, char *argv[])
{
QApplication::setStyle(QStyleFactory::create("fusion"));
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}