diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index f9fe33d98..7d7b48b2b 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -549,8 +549,8 @@ void MainWindow::analyzeCode(const QString& code, const QString& filename) analysisDone(); // Expand results - if(mUI.mResults->hasVisibleResults()) - mUI.mResults->expandAllResults(); + if (mUI.mResults->hasVisibleResults()) + mUI.mResults->expandAllResults(); } QStringList MainWindow::selectFilesToAnalyze(QFileDialog::FileMode mode) diff --git a/gui/scratchpad.ui b/gui/scratchpad.ui index 7543866d2..2341c99c0 100644 --- a/gui/scratchpad.ui +++ b/gui/scratchpad.ui @@ -14,6 +14,13 @@ Scratchpad + + + + Copy or write some C/C++ code here: + + + @@ -24,9 +31,25 @@ + + + + Optionally enter a filename (mainly for automatic language detection) and click on "Check": + + + - + + 0 + + + 0 + + + 0 + + 0