#6538 Fixed couple issues with comments
This commit is contained in:
parent
f1f5079497
commit
f77bc2acff
2 changed files with 17 additions and 6 deletions
|
|
@ -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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
|
@ -18,7 +31,7 @@ namespace GUI {
|
||||||
|
|
||||||
|
|
||||||
ConfigWriter *ConfigWriter::make() {
|
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) {
|
if (!s_pConfiguration) {
|
||||||
s_pConfiguration = new ConfigWriter();
|
s_pConfiguration = new ConfigWriter();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -88,8 +88,6 @@ int main(int argc, char* argv[])
|
||||||
#ifndef Q_OS_WIN
|
#ifndef Q_OS_WIN
|
||||||
QApplication::setQuitOnLastWindowClosed(false);
|
QApplication::setQuitOnLastWindowClosed(false);
|
||||||
#endif
|
#endif
|
||||||
//S
|
|
||||||
|
|
||||||
|
|
||||||
AppConfig appConfig;
|
AppConfig appConfig;
|
||||||
qRegisterMetaType<Edition>("Edition");
|
qRegisterMetaType<Edition>("Edition");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue