[glom] Bakery::AppWindow: Remove unused version string.



commit ca06333dd539cf358b28b1b0c987b54c3e15217f
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Mar 15 20:46:04 2016 +0100

    Bakery::AppWindow: Remove unused version string.
    
    Found by IntelliJ CLion inspections.

 glom/appwindow.cc        |    1 -
 glom/bakery/appwindow.cc |    3 ---
 glom/bakery/appwindow.h  |    1 -
 3 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/glom/appwindow.cc b/glom/appwindow.cc
index 622eb36..616422a 100644
--- a/glom/appwindow.cc
+++ b/glom/appwindow.cc
@@ -460,7 +460,6 @@ void AppWindow::on_menu_help_about()
     m_pAbout = new Gtk::AboutDialog;
 
     m_pAbout->set_program_name(m_strAppName);
-    m_pAbout->set_version(m_strVersion);
     m_pAbout->set_comments(_("A Database GUI"));
     m_pAbout->set_version(PACKAGE_VERSION);
     m_pAbout->set_copyright(_("© 2000-2011 Murray Cumming, Openismus GmbH"));
diff --git a/glom/bakery/appwindow.cc b/glom/bakery/appwindow.cc
index 72064af..0e3d51a 100644
--- a/glom/bakery/appwindow.cc
+++ b/glom/bakery/appwindow.cc
@@ -23,9 +23,6 @@
 namespace GlomBakery
 {
 
-//Initialize static member data:
-Glib::ustring AppWindow::m_strVersion;
-
 bool AppWindow::m_bOperationCancelled = false;
 Glib::ustring AppWindow::m_strCommandLine_0;
 Glib::ustring AppWindow::m_strAppName;
diff --git a/glom/bakery/appwindow.h b/glom/bakery/appwindow.h
index 6581fba..a526403 100644
--- a/glom/bakery/appwindow.h
+++ b/glom/bakery/appwindow.h
@@ -110,7 +110,6 @@ protected:
   
   //'About Box'/WM Class information:
   static Glib::ustring m_strAppName;
-  static Glib::ustring m_strVersion;
 
   //Instances
 


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