summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-01-24 19:34:12 +0100
committerTannin <devnull@localhost>2015-01-24 19:34:12 +0100
commitc3a95bdef1d989a54684b966e042b12bf682046d (patch)
tree83a09ca9252b9d5a060acb415b8c3c0923cfe2c3 /src/main.cpp
parent9edc39633b82b5e02d33c4b0a395fe110af28eb4 (diff)
parentf756aede08edb315ebe5882098191ebfe971fd81 (diff)
Merge with branch1.2
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 92ebf8bc..a048d50d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -149,7 +149,7 @@ bool isNxmLink(const QString &link)
return link.left(6).toLower() == "nxm://";
}
-LONG WINAPI MyUnhandledExceptionFilter(struct _EXCEPTION_POINTERS *exceptionPtrs)
+static LONG WINAPI MyUnhandledExceptionFilter(struct _EXCEPTION_POINTERS *exceptionPtrs)
{
typedef BOOL (WINAPI *FuncMiniDumpWriteDump)(HANDLE process, DWORD pid, HANDLE file, MINIDUMP_TYPE dumpType,
const PMINIDUMP_EXCEPTION_INFORMATION exceptionParam,
@@ -211,12 +211,12 @@ LONG WINAPI MyUnhandledExceptionFilter(struct _EXCEPTION_POINTERS *exceptionPtrs
return result;
}
-void registerMetaTypes()
+static void registerMetaTypes()
{
registerExecutable();
}
-bool HaveWriteAccess(const std::wstring &path)
+static bool HaveWriteAccess(const std::wstring &path)
{
bool writable = false;