Commit ed51e4d0 authored by Laurent Montel's avatar Laurent Montel
Browse files

const'ify

parent e9864d87
Pipeline #56634 passed with stage
in 14 minutes and 18 seconds
......@@ -87,7 +87,7 @@ public:
}
private:
ActionManagerImpl *m_manager = nullptr;
ActionManagerImpl *const m_manager;
};
class ActionManagerImpl::ActionManagerImplPrivate
......
......@@ -50,7 +50,7 @@ MainWindow::MainWindow(QWidget *parent)
toolBar()->show();
statusBar()->show();
int statH = fontMetrics().height() + 2;
const int statH = fontMetrics().height() + 2;
m_statusLabel->setTextFormat(Qt::RichText);
m_statusLabel->setSizePolicy(QSizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed));
m_statusLabel->setMinimumWidth(0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment