Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-04-24 04:55:04 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:16:16 +0300
commit6b1a6426303953812fa5d806a704e4555958dd74 (patch)
tree170cd491c7344aeff600a09ace958ed15a4b5441 /qt/mainwindow.hpp
parent07d4db8e95eb551451f8a259f3915927f64e8fd8 (diff)
[qt] Removed downloader, preferences, classificator and guide from release/production builds
Diffstat (limited to 'qt/mainwindow.hpp')
-rw-r--r--qt/mainwindow.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/qt/mainwindow.hpp b/qt/mainwindow.hpp
index 4c7ba1d4d9..411feebfc1 100644
--- a/qt/mainwindow.hpp
+++ b/qt/mainwindow.hpp
@@ -4,8 +4,6 @@
#include <QtGui/QMainWindow>
-#include "../base/start_mem_debug.hpp"
-
class QDockWidget;
namespace qt
@@ -20,8 +18,9 @@ namespace qt
DrawWidget * m_pDrawWidget;
QDockWidget * m_Docks[2];
//FindTableWnd * m_pFindTable;
+#ifdef DEBUG // code removed for desktop releases
UpdateDialog * m_updateDialog;
-
+#endif // DEBUG
storage::Storage m_storage;
Q_OBJECT
@@ -39,12 +38,13 @@ namespace qt
void OnLocationFound();
protected:
+#ifdef DEBUG // code removed for desktop releases
void CreatePanelImpl(size_t i, QString const & name, QKeySequence const & hotkey,
char const * slot);
void CreateClassifPanel();
void CreateGuidePanel();
-
+#endif
void CreateNavigationBar();
//void CreateFindTable(QLayout * pLayout);
#if defined(Q_WS_WIN)
@@ -55,13 +55,13 @@ namespace qt
protected Q_SLOTS:
//void OnFeatureEntered(int row, int col);
//void OnFeatureClicked(int row, int col);
+#ifdef DEBUG // code removed for desktop releases
void ShowUpdateDialog();
void ShowClassifPanel();
void ShowGuidePanel();
- void OnAbout();
void OnPreferences();
+#endif // DEBUG
+ void OnAbout();
void OnMyPosition();
};
}
-
-#include "../base/stop_mem_debug.hpp"