diff options
Diffstat (limited to 'src/ui/dialog/WaitingDialog.cpp')
-rw-r--r-- | src/ui/dialog/WaitingDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/WaitingDialog.cpp b/src/ui/dialog/WaitingDialog.cpp index a4412e57..f014ac3d 100644 --- a/src/ui/dialog/WaitingDialog.cpp +++ b/src/ui/dialog/WaitingDialog.cpp @@ -57,8 +57,8 @@ WaitingDialog::WaitingDialog(const QString& title, QWidget* parent) int screen_width = geo.width(); int screen_height = geo.height(); - LOG(INFO) << "primary screen available geometry" << screen_width - << screen_height; + SPDLOG_INFO("primary screen available geometry: {} {}", screen_width, + screen_height); auto pos = QPoint((screen_width - QWidget::width()) / 2, (screen_height - QWidget::height()) / 2); @@ -67,7 +67,7 @@ WaitingDialog::WaitingDialog(const QString& title, QWidget* parent) } else { auto pos = QPoint(parent->x() + (parent->width() - QWidget::width()) / 2, parent->y() + (parent->height() - QWidget::height()) / 2); - LOG(INFO) << "pos" << pos.x() << pos.y(); + SPDLOG_INFO("pos: {} {}", pos.x(), pos.y()); this->move(pos); } |