]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxgui.cpp
Merge pull request #277 from pwpiwi/clang_warnings
[proxmark3-svn] / client / proxgui.cpp
index 2858157caf53c28ffe2f9a0ec66f2ac04945c449..7dcb0da0fec3cbe8765049d6ca69a2af40c3fa0f 100644 (file)
@@ -1,3 +1,13 @@
+//-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// GUI functions
+//-----------------------------------------------------------------------------
+
 #include "proxgui.h"
 #include "proxguiqt.h"
 
@@ -53,6 +63,7 @@ extern "C" void ExitGraphics(void)
   if (!gui)
     return;
 
-  delete gui;
+  gui->Exit();
+  //delete gui;
   gui = NULL;
 }
Impressum, Datenschutz