Skip to content

Commit 5df9cd9

Browse files
committed
astyle formatting
[ci skip]
1 parent 7e65b56 commit 5df9cd9

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

gui/codeeditor.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,15 @@ class CodeEditor : public QPlainTextEdit {
8484
*/
8585
void setError(int errorLine, const QStringList &symbols);
8686

87-
void setFileName(const QString &fileName)
88-
{
87+
void setFileName(const QString &fileName) {
8988
mFileName = fileName;
9089
}
9190

92-
QString getFileName() const
93-
{
91+
QString getFileName() const {
9492
return mFileName;
9593
}
9694

97-
void clear()
98-
{
95+
void clear() {
9996
mFileName.clear();
10097
setPlainText(QString());
10198
}

gui/resultsview.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,7 @@ void ResultsView::updateDetails(const QModelIndex &index)
429429
if (data.contains("symbolNames"))
430430
symbols = data["symbolNames"].toString().split("\n");
431431

432-
if (filepath == mUI.mCode->getFileName())
433-
{
432+
if (filepath == mUI.mCode->getFileName()) {
434433
mUI.mCode->setError(lineNumber, symbols);
435434
return;
436435
}

0 commit comments

Comments
 (0)