Skip to content

Commit 80d0c84

Browse files
committed
Running astyle.
1 parent 8d08357 commit 80d0c84

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

gui/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ static bool CheckArgs(const QStringList &args);
4141

4242
int main(int argc, char *argv[])
4343
{
44-
44+
4545
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
4646
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
4747
#endif
48-
48+
4949
QApplication app(argc, argv);
5050

5151
#if QT_VERSION < 0x050000

gui/resultsview.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,7 @@ void ResultsView::logClear()
415415
void ResultsView::logCopyEntry()
416416
{
417417
const QListWidgetItem * item = mUI.mListLog->currentItem();
418-
if(nullptr != item)
419-
{
418+
if (nullptr != item) {
420419
QClipboard *clipboard = QApplication::clipboard();
421420
clipboard->setText(item->text());
422421
}
@@ -425,11 +424,9 @@ void ResultsView::logCopyEntry()
425424
void ResultsView::logCopyComplete()
426425
{
427426
QString logText;
428-
for(int i=0; i < mUI.mListLog->count(); ++i)
429-
{
427+
for (int i=0; i < mUI.mListLog->count(); ++i) {
430428
const QListWidgetItem * item = mUI.mListLog->item(i);
431-
if(nullptr != item)
432-
{
429+
if (nullptr != item) {
433430
logText += item->text();
434431
}
435432
}
@@ -439,8 +436,7 @@ void ResultsView::logCopyComplete()
439436

440437
void ResultsView::on_mListLog_customContextMenuRequested(const QPoint &pos)
441438
{
442-
if(mUI.mListLog->count() > 0)
443-
{
439+
if (mUI.mListLog->count() > 0) {
444440
QPoint globalPos = mUI.mListLog->mapToGlobal(pos);
445441

446442
QMenu contextMenu;

0 commit comments

Comments
 (0)