mainwindow.cpp
branchqt4-port
changeset 15 699f28529079
parent 13 9aadd0f58300
child 16 41c3d7f9f532
     1.1 --- a/mainwindow.cpp	Tue Aug 15 11:43:21 2006 +0000
     1.2 +++ b/mainwindow.cpp	Tue Aug 15 12:01:14 2006 +0000
     1.3 @@ -1109,7 +1109,6 @@
     1.4  	standardFlagsDefault->setVisibility (false);
     1.5  	standardFlagsDefault->setName ("standardFlagsDef");
     1.6  	standardFlagsDefault->setToolBar (tb);
     1.7 -	TB_standardFlags=tb;
     1.8  	tb->setObjectName ("standardFlagTB");
     1.9  
    1.10  	fo->load(QPixmap(flagsPath+"flag-exclamationmark.png"));
    1.11 @@ -3055,10 +3054,7 @@
    1.12  
    1.13  void Main::testFunction()
    1.14  {
    1.15 -	cout <<TB_standardFlags->isMovable()<<endl;
    1.16 -	cout <<TB_standardFlags->pos()<<endl;
    1.17 -	TB_standardFlags->move(QPoint (0,66));
    1.18 -	//currentMapEditor()->testFunction();
    1.19 +	currentMapEditor()->testFunction();
    1.20  }
    1.21  
    1.22  void Main::helpDoc()