X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2FSetupRootDialog.cxx;h=707bc0962e0adc9af4f4007b90900581eaf459ac;hb=846fd2169832c8938f04386139de746a06e80d4b;hp=fd3ee5b5859ec4ac08527f3149433b1462717cb9;hpb=a466dbce7386afbf0c1b1103a8c457d8395a10c3;p=flightgear.git diff --git a/src/GUI/SetupRootDialog.cxx b/src/GUI/SetupRootDialog.cxx index fd3ee5b58..707bc0962 100644 --- a/src/GUI/SetupRootDialog.cxx +++ b/src/GUI/SetupRootDialog.cxx @@ -1,3 +1,23 @@ +// SetupRootDialog.cxx - part of GUI launcher using Qt5 +// +// Written by James Turner, started December 2014. +// +// Copyright (C) 2014 James Turner +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation; either version 2 of the +// License, or (at your option) any later version. +// +// This program 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, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -12,6 +32,7 @@ #include #include #include +#include #include "ui_SetupRootDialog.h" @@ -49,7 +70,6 @@ bool SetupRootDialog::restoreUserSelectedRoot() QSettings settings; QString path = settings.value("fg-root").toString(); if (validatePath(path) && validateVersion(path)) { - qDebug() << "Restoring FG-root:" << path; globals->set_fg_root(path.toStdString()); return true; } else {