Code-formatted and Copyright-text added

This commit is contained in:
Anubhav Choudhary 2021-01-23 21:16:32 +05:30
parent ff66e4b3d5
commit a2c930a714
4 changed files with 18 additions and 17 deletions

View File

@ -220,15 +220,17 @@ slideshowAPI: 2
# These options are to customize online uploading of logs to pastebins: # These options are to customize online uploading of logs to pastebins:
# - style : Defines the kind of pastebin service to be used. Takes # - style : Defines the kind of pastebin service to be used. ie it can
# string as input # provide the functionality of controlling privacy of
# paste (in future).Currently only "fiche" servers
# are supported. Takes string as input
# - url : Defines the address of pastebin service to be used. # - url : Defines the address of pastebin service to be used.
# Takes string as input # Takes string as input
# - port : Defines the port number to be used to send logs. Takes # - port : Defines the port number to be used to send logs. Takes
# integer as input # integer as input
# - enable : Defines if the functionality is to be used or not. Takes # - enable : Defines if the functionality is to be used or not. Takes
# bool as input # bool as input
logUpload.style : "fische" logUpload.style : "fiche"
logUpload.url : "termbin.com" logUpload.url : "termbin.com"
logUpload.port : 9999 logUpload.port : 9999
logUpload.enable : true logUpload.enable : true

View File

@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2017-2019 Adriaan de Groot <groot@kde.org> * SPDX-FileCopyrightText: 2017-2019 Adriaan de Groot <groot@kde.org>
* SPDX-FileCopyrightText: 2018 Raul Rodrigo Segura (raurodse) * SPDX-FileCopyrightText: 2018 Raul Rodrigo Segura (raurodse)
* SPDX-FileCopyrightText: 2019 Camilo Higuita <milo.h@aol.com> * SPDX-FileCopyrightText: 2019 Camilo Higuita <milo.h@aol.com>
* SPDX-FileCopyrightText: 2021 Anubhav Choudhary <ac.10edu@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* Calamares is Free Software: see the License-Identifier above. * Calamares is Free Software: see the License-Identifier above.

View File

@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2017-2018 Adriaan de Groot <groot@kde.org> * SPDX-FileCopyrightText: 2017-2018 Adriaan de Groot <groot@kde.org>
* SPDX-FileCopyrightText: 2018 Raul Rodrigo Segura (raurodse) * SPDX-FileCopyrightText: 2018 Raul Rodrigo Segura (raurodse)
* SPDX-FileCopyrightText: 2019 Camilo Higuita <milo.h@aol.com> * SPDX-FileCopyrightText: 2019 Camilo Higuita <milo.h@aol.com>
* SPDX-FileCopyrightText: 2021 Anubhav Choudhary <ac.10edu@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* Calamares is Free Software: see the License-Identifier above. * Calamares is Free Software: see the License-Identifier above.

View File

@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2017-2018 Adriaan de Groot <groot@kde.org> * SPDX-FileCopyrightText: 2017-2018 Adriaan de Groot <groot@kde.org>
* SPDX-FileCopyrightText: 2019 Dominic Hayes <ferenosdev@outlook.com> * SPDX-FileCopyrightText: 2019 Dominic Hayes <ferenosdev@outlook.com>
* SPDX-FileCopyrightText: 2019 Gabriel Craciunescu <crazy@frugalware.org> * SPDX-FileCopyrightText: 2019 Gabriel Craciunescu <crazy@frugalware.org>
* SPDX-FileCopyrightText: 2021 Anubhav Choudhary <ac.10edu@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* *
* Calamares is Free Software: see the License-Identifier above. * Calamares is Free Software: see the License-Identifier above.
@ -140,7 +141,7 @@ ViewManager::insertViewStep( int before, ViewStep* step )
void void
ViewManager::onInstallationFailed( const QString& message, const QString& details ) ViewManager::onInstallationFailed( const QString& message, const QString& details )
{ {
bool shouldOfferWebPaste = Calamares::Branding::instance()->logUploadEnable(); // TODO: config var bool shouldOfferWebPaste = Calamares::Branding::instance()->logUploadEnable();
cError() << "Installation failed:"; cError() << "Installation failed:";
cDebug() << "- message:" << message; cDebug() << "- message:" << message;
@ -531,13 +532,9 @@ ViewManager::updateCancelEnabled( bool enabled )
} }
void void
ViewManager::updateBackAndNextVisibility( bool visible) ViewManager::updateBackAndNextVisibility( bool visible ) { UPDATE_BUTTON_PROPERTY( backAndNextVisible, visible ) }
{
UPDATE_BUTTON_PROPERTY( backAndNextVisible, visible )
}
QVariant QVariant ViewManager::data( const QModelIndex& index, int role ) const
ViewManager::data( const QModelIndex& index, int role ) const
{ {
if ( !index.isValid() ) if ( !index.isValid() )
{ {