Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FmTakeaway
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shangshang.dai
FmTakeaway
Commits
45efbcb8
Commit
45efbcb8
authored
Oct 12, 2016
by
ss.dai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
米有提交店测
parent
2d450c38
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
fmTakeaway/main.cpp
+9
-0
fmTakeaway/mainForm.cpp
+2
-0
No files found.
fmTakeaway/main.cpp
View file @
45efbcb8
...
...
@@ -9,6 +9,7 @@
#include "Control/sinfoControl.h"
#include "floatForm.h"
#include "DTools/configManger.h"
#include <windows.h>
using
namespace
QsLogging
;
...
...
@@ -48,6 +49,14 @@ void LoadTheme(const QString& theme)
int
main
(
int
argc
,
char
*
argv
[])
{
HANDLE
m_hMutex
=
CreateMutex
(
NULL
,
FALSE
,
L"fmTakeaway"
);
if
(
GetLastError
()
==
ERROR_ALREADY_EXISTS
)
{
CloseHandle
(
m_hMutex
);
m_hMutex
=
NULL
;
return
-
1
;
}
QApplication
a
(
argc
,
argv
);
g_appDir
=
a
.
applicationDirPath
();
...
...
fmTakeaway/mainForm.cpp
View file @
45efbcb8
...
...
@@ -89,6 +89,8 @@ void MainForm::MyShow()
m_resultForm
->
hide
();
connect
(
m_resultForm
,
&
QListWidget
::
itemClicked
,
this
,
&
MainForm
::
onSearchResultItemClicked
);
on_mainBtnHide_clicked
();
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment