File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments