aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/InfoBoardWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/widgets/InfoBoardWidget.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/widgets/InfoBoardWidget.cpp b/src/ui/widgets/InfoBoardWidget.cpp
index fceefe2a..98b07089 100644
--- a/src/ui/widgets/InfoBoardWidget.cpp
+++ b/src/ui/widgets/InfoBoardWidget.cpp
@@ -113,7 +113,7 @@ void InfoBoardWidget::AssociateTabWidget(QTabWidget* tab) {
void InfoBoardWidget::AddOptionalAction(const QString& name,
const std::function<void()>& action) {
- SPDLOG_INFO("add option: {}", name.toStdString());
+ SPDLOG_DEBUG("add option: {}", name.toStdString());
auto actionButton = new QPushButton(name);
auto layout = new QHBoxLayout();
layout->setContentsMargins(5, 0, 5, 0);
@@ -143,8 +143,6 @@ void InfoBoardWidget::SlotReset() {
*/
void InfoBoardWidget::delete_widgets_in_layout(QLayout* layout,
int start_index) {
- SPDLOG_INFO("called");
-
QLayoutItem* item;
while ((item = layout->layout()->takeAt(start_index)) != nullptr) {
layout->removeItem(item);
@@ -164,7 +162,7 @@ void InfoBoardWidget::slot_copy() {
void InfoBoardWidget::slot_save() {
auto file_path = QFileDialog::getSaveFileName(
this, _("Save Information Board's Content"), {}, tr("Text (*.txt)"));
- SPDLOG_INFO("file path: {{}", file_path.toStdString());
+ SPDLOG_DEBUG("file path: {}", file_path.toStdString());
if (file_path.isEmpty()) return;
QFile file(file_path);