From d6301fca6b78db52d0d98f8e0799aba175ad2e59 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:21:41 +0200 Subject: 5.8 --- ui/switch_to_gui.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ui/switch_to_gui.h') diff --git a/ui/switch_to_gui.h b/ui/switch_to_gui.h index e4a14f8f..a12c7b03 100644 --- a/ui/switch_to_gui.h +++ b/ui/switch_to_gui.h @@ -1,7 +1,7 @@ // ************************************************************************** // * This file is part of the FreeFileSync project. It is distributed under * // * GNU General Public License: http://www.gnu.org/licenses/gpl.html * -// * Copyright (C) ZenJu (zenju AT gmx DOT de) - All Rights Reserved * +// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved * // ************************************************************************** #ifndef SWITCHTOGUI_H_INCLUDED @@ -27,9 +27,7 @@ public: void execute() const { - - MainDialog* frame = new MainDialog(referenceFiles, guiCfg, globalSettings_, true); //toplevel window - frame->Show(); + MainDialog::create(guiCfg, referenceFiles, globalSettings_, true); //new toplevel window } private: -- cgit