File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,11 +41,11 @@ static bool CheckArgs(const QStringList &args);
4141
4242int 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
Original file line number Diff line number Diff line change @@ -415,8 +415,7 @@ void ResultsView::logClear()
415415void 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()
425424void 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
440437void 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;
You can’t perform that action at this time.
0 commit comments