diff --git a/build_num b/build_num index 941bbf835..837cbe0b6 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM 2087 +#define BUILD_NUM 2089 diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 1a7362bac..7d4c59734 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -51,12 +51,6 @@ #include #include -/* -#ifdef _WIN32 -# include -#endif -*/ - #include "FWBSettings.h" #include "RCS.h" #include "FWWindow.h" @@ -101,29 +95,21 @@ #include #endif -//#ifdef Q_OS_MACX -//# include -//#endif - #include #include #include #include "../common/init.cpp" -#ifdef ELC -extern int init2(const QString &a1, - const QString &moduleName, - const QString &rp1, - const QString &rp2, - const QString &rp3, - bool f1, bool f2, bool d); -#endif - #if defined(Q_WS_MAC) extern void connectOdocHandler(); #endif +#ifndef INIT2 +#define INIT2 +#endif + +extern void extras(); using namespace libfwbuilder; using namespace std; @@ -607,16 +593,7 @@ int main( int argc, char *argv[] ) QPixmapCache::setCacheLimit(4096); -// app->setFont(st->getTreeFont()); - -#ifdef ELC - init2(argv0.c_str(), - "Firewall Builder", - "fwb_gui30", - FWBSettings::getApplicationNameForSettings(), - "3.1", - true, true, fwbdebug); -#endif + INIT2; string full_res_path = respath + FS_SEPARATOR + "resources.xml";