Commit f6ebc5ba authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use auto

parent b848fa07
......@@ -640,7 +640,7 @@ ComposerPageSubjectTab::ComposerPageSubjectTab(QWidget *parent)
auto vlay = new QVBoxLayout(this);
auto group = new QGroupBox(i18n("Repl&y Subject Prefixes"), this);
QLayout *layout = new QVBoxLayout(group);
auto layout = new QVBoxLayout(group);
// row 0: help text:
auto label = new QLabel(i18n("Recognize any sequence of the following prefixes (entries are case-insensitive regular expressions):"), group);
......
......@@ -105,7 +105,7 @@ void KMMainWin::slotFullScreen(bool t)
KToggleFullScreenAction::setFullScreen(this, t);
QMenuBar *mb = menuBar();
if (t) {
QToolButton *b = new QToolButton(mb);
auto b = new QToolButton(mb);
b->setDefaultAction(mShowFullScreenAction);
b->setSizePolicy(QSizePolicy(QSizePolicy::Minimum, QSizePolicy::Ignored));
b->setFont(QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont));
......
Supports Markdown
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