summaryrefslogtreecommitdiff
path: root/Applications/Calculator/main.cpp
diff options
context:
space:
mode:
authorPeter Elliott <pelliott@ualberta.ca>2020-07-31 16:12:11 -0600
committerAndreas Kling <kling@serenityos.org>2020-08-01 08:06:48 +0200
commit4bf4a071a661b3c67c54d75f44b4949027bf045e (patch)
tree3513fe23479b9ee1c7a59f3d1708df511f5d9b00 /Applications/Calculator/main.cpp
parent5ae9eee4a37a473ef768a2fe8d95d84202443cbe (diff)
downloadserenity-4bf4a071a661b3c67c54d75f44b4949027bf045e.zip
Applications: Stop setting initial window location
This will let the WindowManager choose the location of the window
Diffstat (limited to 'Applications/Calculator/main.cpp')
-rw-r--r--Applications/Calculator/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Calculator/main.cpp b/Applications/Calculator/main.cpp
index e61c498026..c2bf86ffeb 100644
--- a/Applications/Calculator/main.cpp
+++ b/Applications/Calculator/main.cpp
@@ -58,7 +58,7 @@ int main(int argc, char** argv)
auto window = GUI::Window::construct();
window->set_title("Calculator");
window->set_resizable(false);
- window->set_rect({ 300, 200, 254, 213 });
+ window->resize(254, 213);
window->set_main_widget<CalculatorWidget>();