diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 6836d9b3a..1d4a26101 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -62,7 +62,7 @@ namespace Flow.Launcher DataObject.AddPastingHandler(QueryTextBox, OnPaste); - this.Loaded += (_, _) => + Loaded += (_, _) => { var handle = new WindowInteropHelper(this).Handle; var win = HwndSource.FromHwnd(handle); @@ -70,11 +70,6 @@ namespace Flow.Launcher }; } - public MainWindow() - { - InitializeComponent(); - } - private int _initialWidth; private int _initialHeight;