diff --git a/src/gui/src/ConfigWriter.cpp b/src/gui/src/ConfigWriter.cpp index 8e77dab4b9..0a98003da8 100644 --- a/src/gui/src/ConfigWriter.cpp +++ b/src/gui/src/ConfigWriter.cpp @@ -1,6 +1,19 @@ -// -// Created by jamie on 21/04/2020. -// +/* + * synergy -- mouse and keyboard sharing utility + * Copyright (C) 2020-2020 Symless Ltd. + * + * This package is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * found in the file LICENSE that should have accompanied this file. + * + * This package is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include @@ -18,7 +31,7 @@ namespace GUI { ConfigWriter *ConfigWriter::make() { - // Only one ConfigWriter can exist at any one time (Singolton) + // Only one ConfigWriter can exist at any one time (Singleton) if (!s_pConfiguration) { s_pConfiguration = new ConfigWriter(); } diff --git a/src/gui/src/main.cpp b/src/gui/src/main.cpp index 2d350f1cf5..cff969fd01 100644 --- a/src/gui/src/main.cpp +++ b/src/gui/src/main.cpp @@ -88,8 +88,6 @@ int main(int argc, char* argv[]) #ifndef Q_OS_WIN QApplication::setQuitOnLastWindowClosed(false); #endif - //S - AppConfig appConfig; qRegisterMetaType("Edition");