main.cpp
changeset 417 1cc7bbf75f0b
parent 404 53efc2562a7d
child 434 c585be63ec69
     1.1 --- a/main.cpp	Mon Nov 20 12:12:02 2006 +0000
     1.2 +++ b/main.cpp	Fri Jan 05 11:17:32 2007 +0000
     1.3 @@ -10,9 +10,9 @@
     1.4  // Global variables
     1.5  TextEditor *textEditor;			// used in Constr. of LinkableMapObj
     1.6  								// initialized in mainwindow
     1.7 -QString vymName(__VYM_NAME);
     1.8 -QString vymVersion(__VYM_VERSION);
     1.9 -QString vymBuildDate(__VYM_BUILD_DATE);
    1.10 +QString vymName;
    1.11 +QString vymVersion;
    1.12 +QString vymBuildDate;
    1.13  
    1.14  Main *mainWindow;				// used in BranchObj::select()								
    1.15  QString tmpVymDir;				// All temp files go there, created in mainwindow
    1.16 @@ -40,6 +40,10 @@
    1.17  
    1.18      QApplication app(argc,argv);
    1.19  
    1.20 +	vymName=__VYM_NAME;
    1.21 +	vymVersion=__VYM_VERSION;
    1.22 +	vymBuildDate=__VYM_BUILD_DATE;
    1.23 +
    1.24  
    1.25  	// Reading and initializing options commandline options
    1.26  	options.add ("version", SwitchOption, "v","version");