You are only calling the ContextSettings constructor, you aren't passing it to the RenderWindow constructor.
Here is what I use in my project, except using Window instead of RenderWindow:
sf::Window window(sf::VideoMode(800, 600, 32), "Game", sf::Style::Close, sf::ContextSettings(24, 8, 16, 3, 3));