mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 16:38:21 -04:00
[libcalamares] Drop generic cLog()
- Use cWarning or cError() for errors - Use cDebug(level) for other uses (but there aren't any)
This commit is contained in:
parent
ad6227ce21
commit
6bb72d173d
5 changed files with 11 additions and 12 deletions
|
@ -150,9 +150,9 @@ ViewManager::insertViewStep( int before, ViewStep* step )
|
|||
void
|
||||
ViewManager::onInstallationFailed( const QString& message, const QString& details )
|
||||
{
|
||||
cLog() << "Installation failed:";
|
||||
cLog() << "- message:" << message;
|
||||
cLog() << "- details:" << details;
|
||||
cError() << "Installation failed:";
|
||||
cDebug() << "- message:" << message;
|
||||
cDebug() << "- details:" << details;
|
||||
|
||||
QMessageBox* msgBox = new QMessageBox();
|
||||
msgBox->setIcon( QMessageBox::Critical );
|
||||
|
@ -167,7 +167,7 @@ ViewManager::onInstallationFailed( const QString& message, const QString& detail
|
|||
msgBox->setInformativeText( text );
|
||||
|
||||
connect( msgBox, &QMessageBox::buttonClicked, qApp, &QApplication::quit );
|
||||
cLog() << "Calamares will quit when the dialog closes.";
|
||||
cDebug() << "Calamares will quit when the dialog closes.";
|
||||
msgBox->show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue