diff --git a/src/UI/AboutWindow.cc b/src/UI/AboutWindow.cc index 420dae7bfbd3ef45a4273245400656a912d64962..432c7fbf5b39c68138e08dfb33f8927534790dcb 100644 --- a/src/UI/AboutWindow.cc +++ b/src/UI/AboutWindow.cc @@ -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"); diff --git a/src/VivyApplication.cc b/src/VivyApplication.cc index 2020a97b5e349f3c5bd1e6c50e63a240e1dab1a3..6cac0f9f096654bba8f79de16ff70d7cdba6b725 100644 --- a/src/VivyApplication.cc +++ b/src/VivyApplication.cc @@ -6,6 +6,7 @@ using namespace Vivy; VivyApplication::VivyApplication(int &argc, char **argv) : QApplication(argc, argv) { + VIVY_LOG_CTOR(VivyApplication) << "Construction is OK"; } void