[gnote] Fix compile-time worning



commit b63b69f19a5af145aa1e8d54852557280f5d6f38
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Dec 15 16:58:36 2013 +0200

    Fix compile-time worning

 src/mainwindow.hpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp
index d13e4ba..b77807f 100644
--- a/src/mainwindow.hpp
+++ b/src/mainwindow.hpp
@@ -47,9 +47,9 @@ public:
   virtual void new_note() = 0;
   virtual void close_window() = 0;
 
-  void close_on_escape(bool close)
+  void close_on_escape(bool close_win)
     {
-      m_close_on_esc = close;
+      m_close_on_esc = close_win;
     }
   bool close_on_escape() const
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]