We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa186dc commit 6c6c142Copy full SHA for 6c6c142
1 file changed
main.cpp
@@ -4,13 +4,22 @@
4
#include "UI/mainview.h"
5
#include <QApplication>
6
7
+//snippet storage is static cause
8
+//it it should be only created once
9
static Snippets *snip;
10
+
11
+//main view is static so it can be shared
12
+//and only created once
13
static MainView *mainView;
14
15
int main(int argc, char *argv[]) {
16
17
+ //need to set program details
18
QCoreApplication::setOrganizationName("Bhathiya");
19
QCoreApplication::setOrganizationDomain("simpll.info");
20
QCoreApplication::setApplicationName("expressPython");
21
22
+ //non modified arguments must be passed
23
QApplication app(argc, argv);
24
25
wchar_t name[] = L"expressPython";
0 commit comments