summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/crshdmp.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-27 14:18:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-27 14:18:15 +0300
commit9bb7f2473921b2b4b0b546251d9e9aae5ef51964 (patch)
tree0b0461f271fad570cf28ec1bf8223befda3c7e3b /plugins/CrashDumper/src/crshdmp.cpp
parent1cabfa1a3fa019eff1454dcf6462905e1fa834b6 (diff)
more code cleaning
Diffstat (limited to 'plugins/CrashDumper/src/crshdmp.cpp')
-rw-r--r--plugins/CrashDumper/src/crshdmp.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp
index 8c76065ec6..024da9fd36 100644
--- a/plugins/CrashDumper/src/crshdmp.cpp
+++ b/plugins/CrashDumper/src/crshdmp.cpp
@@ -112,22 +112,6 @@ INT_PTR UploadVersionInfo(WPARAM, LPARAM lParam)
return 0;
}
-
-INT_PTR ViewVersionInfo(WPARAM wParam, LPARAM)
-{
- if (pViewDialog == nullptr) {
- DWORD dwFlags = wParam ? (VI_FLAG_PRNVAR | VI_FLAG_PRNDLL) : VI_FLAG_PRNVAR;
- pViewDialog = new CViewVersionInfo(dwFlags);
- pViewDialog->Show();
- }
- else {
- SetForegroundWindow(pViewDialog->GetHwnd());
- SetFocus(pViewDialog->GetHwnd());
- }
-
- return 0;
-}
-
INT_PTR GetVersionInfo(WPARAM wParam, LPARAM lParam)
{
int result = 1; //failure