-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.cpp
32 lines (27 loc) · 940 Bytes
/
main.cpp
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
31
32
/**
* This file is Copyright 2012
* Kristian Beres <[email protected]>
*
* Other copyrights also apply to some parts of this work. Please
* see the individual file headers for details.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version. See the file
* COPYING included with this distribution for more information.
*/
#include <QApplication>
#include "mainwindow.h"
extern const QString VERSION = "1.3.1";
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setQuitOnLastWindowClosed(false);
a.setApplicationName("Gmail Sniffer");
a.setApplicationVersion(VERSION.toUtf8());
MainWindow w;
w.setWindowTitle("Gmail Sniffer " + VERSION.toUtf8());
w.hide();
return a.exec();
}