Skip to content

Commit

Permalink
chore(format): Use c++14 standard in .clang-format
Browse files Browse the repository at this point in the history
Also fix a small formatting issue on a file. :)
  • Loading branch information
guihkx committed Jan 10, 2023
1 parent dfd0756 commit acd2570
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Webkit style was loosely based on the Qt style
BasedOnStyle: WebKit

Standard: c++17
Standard: c++14

# Column width is limited to 100 in accordance with Qt Coding Style.
# https://wiki.qt.io/Qt_Coding_Style
Expand Down
2 changes: 1 addition & 1 deletion src/noteeditorlogic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void NoteEditorLogic::showNotesInEditor(const QVector<NodeData> &notes)
auto padding = m_currentAdaptableEditorPadding > m_currentMinimumEditorPadding
? m_currentAdaptableEditorPadding
: m_currentMinimumEditorPadding;
QPixmap sep(QSize{ m_textEdit->width() - padding * 2 - 12, 4});
QPixmap sep(QSize{ m_textEdit->width() - padding * 2 - 12, 4 });
sep.fill(Qt::transparent);
QPainter painter(&sep);
painter.setPen(m_spacerColor);
Expand Down

0 comments on commit acd2570

Please sign in to comment.