Salome HOME
refs #662: the tests for land cover presentations
[modules/hydro.git] / src / HYDRO_tests / test_HYDROData_Main.cxx
index fb731922dc38b5c1e851dc1c94a02184fc4dbed9..4248b2190a2bb38bb0811df53812d82a87352615 100644 (file)
@@ -45,10 +45,9 @@ int main( int argc, char* argv[] )
   aWindow->show();
   QTest::qWaitForWindowShown( aWindow );
 
-  QSize aSize = aWindow->dumpView().size();
-  int dx = W-aSize.width();
-  int dy = H-aSize.height();
-  aWindow->resize( W+dx, H+dy );
+  int dy = 34;
+  //std::cout << dx << "," << dy << std::endl;
+  aWindow->resize( W, H+dy );
   anApp.processEvents();
 
   std::string testPath = (argc > 1) ? std::string(argv[1]) : "";