diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-10-28 02:31:37 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:27:06 +0300 |
commit | dc7c41a37420faf4fb2940a0cdbd5df372bb3a54 (patch) | |
tree | 871dea8c2f6a276e955b6a8a204518001caad527 /qt/main.cpp | |
parent | 61f3a94d90e165c1ac762dfbc2655b5844ee4102 (diff) |
Removed unused commented code
Diffstat (limited to 'qt/main.cpp')
-rw-r--r-- | qt/main.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/qt/main.cpp b/qt/main.cpp index 45fcea94b8..199e7c517d 100644 --- a/qt/main.cpp +++ b/qt/main.cpp @@ -16,24 +16,10 @@ #include <QtGui/QApplication> #include <QtCore/QLocale> -//#ifdef OMIM_OS_WINDOWS -// #include <../src/gui/image/qimageiohandler.h> -// #include <../src/network/bearer/qbearerplugin_p.h> -// #include <../src/corelib/plugin/qfactoryloader_p.h> -//#endif - //#include <google/protobuf/stubs/common.h> #include "../base/start_mem_debug.hpp" -//#ifdef OMIM_OS_WINDOWS -//Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, imageLoader, -// (QImageIOHandlerFactoryInterface_iid, QLatin1String("/imageformats"))) -//Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, bearerLoader, -// (QBearerEngineFactoryInterface_iid, QLatin1String("/bearer"))) -//#endif - - #define SETTING_EULA_ACCEPTED "EulaAccepted" namespace @@ -125,18 +111,6 @@ int main(int argc, char * argv[]) returnCode = a.exec(); } - // QTBUG: Fix memory leaks. Nobody delete created plugins. -//#ifdef OMIM_OS_WINDOWS -// QFactoryLoader * arr[] = { imageLoader(), bearerLoader() }; -// for (int i = 0; i < 2; ++i) -// { -// QStringList const & keys = arr[i]->keys(); - -// for (int j = 0; j < keys.count(); ++j) -// delete arr[i]->instance(keys.at(j)); -// } -//#endif - LOG_SHORT(LINFO, ("MapsWithMe finished with code", returnCode)); return returnCode; } |