diff --git a/build/vc2008/sfml-graphics.vcproj b/build/vc2008/sfml-graphics.vcproj
index 24a62a30..8c7cb1e7 100644
--- a/build/vc2008/sfml-graphics.vcproj
+++ b/build/vc2008/sfml-graphics.vcproj
@@ -3281,7 +3281,7 @@
>
-
-
diff --git a/samples/qt/Main.cpp b/samples/qt/Main.cpp
index b022601f..29f9dd80 100644
--- a/samples/qt/Main.cpp
+++ b/samples/qt/Main.cpp
@@ -60,7 +60,7 @@ private :
// Adjust the size of the default view when the widget is resized
if (Event.Type == sf::Event::Resized)
{
- GetDefaultView().SetHalfSize(Event.Size.Width / 2.f, Event.Size.Height / 2.f);
+ GetDefaultView().SetFromRect(sf::FloatRect(0, 0, Event.Size.Width, Event.Size.Height));
}
}