Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 66c5f4d5 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

LOG: Add some logs, pb on flush on exit because the messages outlive the...

LOG: Add some logs, pb on flush on exit because the messages outlive the logger (string_view problem)
parent e901daa4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!21Add clean logs support + dependent MR
Ce commit fait partie de la requête de fusion !22. Les commentaires créés ici seront créés dans le contexte de cette requête de fusion.
......@@ -55,6 +55,7 @@ AboutWindow::LicenceLabel::LicenceLabel(QWidget *parent, const QString &url,
const Qt::TextFormat format)
: QTextEdit(parent)
{
VIVY_LOG_CTOR() << "Creating label for licence '" << url << '\'';
QFile content(url);
if (!content.open(QIODevice::ReadOnly | QIODevice::Text))
throw std::runtime_error("Failed to open file that should be accessible");
......@@ -83,6 +84,7 @@ AboutWindow::AboutWindow(QWidget *parent) noexcept
: QMainWindow(parent, Qt::Dialog)
, panels(new QTabWidget)
{
VIVY_LOG_CTOR() << "Creating the 'Vivy - About' window";
setWindowIcon(QIcon(VIVY_ICON_APP));
setWindowTitle("Vivy - About");
......
......@@ -6,6 +6,7 @@ using namespace Vivy;
VivyApplication::VivyApplication(int &argc, char **argv)
: QApplication(argc, argv)
{
VIVY_LOG_CTOR(VivyApplication) << "Construction is OK";
}
void
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter