mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Hide a couple of debugging messages
They are useful to show when trying to figure out what's going on, so just move them behind a check for verbose. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c9f72e510a
commit
a30e78140f
2 changed files with 4 additions and 2 deletions
|
@ -785,7 +785,8 @@ void MainTab::updateDiveInfo(bool clear)
|
|||
else
|
||||
ui.cylinders->view()->hideColumn(CylindersModel::USE);
|
||||
|
||||
qDebug() << "Set the current dive site:" << displayed_dive.dive_site_uuid;
|
||||
if (verbose)
|
||||
qDebug() << "Set the current dive site:" << displayed_dive.dive_site_uuid;
|
||||
emit diveSiteChanged(get_dive_site_by_uuid(displayed_dive.dive_site_uuid));
|
||||
}
|
||||
|
||||
|
|
|
@ -1376,7 +1376,8 @@ int getCloudURL(QString &filename)
|
|||
prefs.cloud_storage_email_encoded = strdup(qPrintable(email));
|
||||
}
|
||||
filename = QString(QString(prefs.cloud_git_url) + "/%1[%1]").arg(email);
|
||||
qDebug() << "cloud URL set as" << filename;
|
||||
if (verbose)
|
||||
qDebug() << "cloud URL set as" << filename;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue