203 Commits

Author SHA1 Message Date
Oliver Stöneberg
91beccb304
fixed some clang-tidy warnings in gui code (#2565) 2020-03-07 11:33:08 +01:00
Daniel Marjamäki
c7b452c4f6 GUI: keep hidden results 2019-08-22 21:32:18 +02:00
Daniel Marjamäki
2d9a131817 Refactoring: Rename variables. Do not use leading _. Renamed 'col' to 'column' 2019-08-18 12:19:05 +02:00
Daniel Marjamäki
97838f104c Fixed #8517 (GUI: Can't copy filename with right click) 2019-07-15 12:58:25 +02:00
Scott Furry
a195477470 Correct Zero/Null as pointer constant (#1938)
Building with enhanced clang warnings indicated a large number of
instances with the warning:

`warning: zero as null pointer constant`

Recommended practice in C++11 is to use `nullptr` as value for
a NULL or empty pointer value. All instances where this warning
was encountered were corrected in this commit.

Where warning was encountered in dependency code (i.e. external library)
no chnages were made. Patching will be offered upstream.
2019-06-30 21:39:22 +02:00
Scott Furry
a5c1884810 Minor changes to gui code to silence repeated build warnings (#1872)
Compile of gui would result in repeated warnings from two conditions:

1) gui/erroritem.h:104:30: warning: extra ‘;’ [-Wpedantic]
Message points to Qt Macro Q_DECLARE_METATYPE usage.
Semi Colon at EOL removed.

2) gui/resultstree.h:201:10: warning [-Woverloaded-virtual]
Message is indicating that function ResultsTree::selectionChanged
is being iterpreted as overloading function of the same name
in base clase (QTreeView::selectionChanged).
Refactored - function renamed to ResultsTree::treeSelectionChanged
2019-06-05 10:13:37 +02:00
Daniel Marjamäki
bd7790fd8c Update copyright year 2019-02-09 07:24:06 +01:00
amai2012
e259e7bc6c #8626 twin include. Remove redundant include 2018-12-31 19:47:23 +01:00
Daniel Marjamäki
1a75084d75 GUI: Refactor comparisons 2018-10-20 16:30:40 +02:00
Daniel Marjamäki
fb803789fd astyle formatting
[ci skip]
2018-04-13 19:57:48 +02:00
Daniel Marjamäki
c4c678383e GUI: copy selected warnings 2018-04-13 17:31:51 +02:00
Daniel Marjamäki
7e4dba6a7e Updated copyright year 2018-03-31 20:59:09 +02:00
Sebastian
3c5ab13a6d GUI: Add context menu entry for copying line nr (#1100)
* GUI: Add context menu entry for copying line nr

As requested in ticket 7947 (https://trac.cppcheck.net/ticket/7947) also
copying the line nr is implemented.

* Use early return for the new function and similar ones
2018-03-06 15:34:14 +01:00
Daniel Marjamäki
9da0e785ef GUI: Improve user interface when mCheckPath is not set 2018-02-20 22:23:02 +01:00
Daniel Marjamäki
0883623159 GUI: Better handling of 'Hide all with ID' 2018-02-15 22:37:10 +01:00
Daniel Marjamäki
f8c74032a7 GUI: Early return 2018-02-15 21:29:18 +01:00
Daniel Marjamäki
c4caee6b18 Updated copyright year 2018-01-14 15:37:52 +01:00
Daniel Marjamäki
34a96a56be GUI: Added buttons to show/hide clang/cppcheck results 2017-08-20 12:21:46 +02:00
Daniel Marjamäki
f6184bba0d Fixed #8169 (GUI: Show checking log in mainwindow) 2017-08-19 22:55:13 +02:00
Daniel Marjamäki
330ceccdc9 GUI: Rework handling of tags. The allowed tags are now userdefined in the project file 2017-08-18 17:25:08 +02:00
Daniel Marjamäki
71f52b77a4 GUI: Configuration of python path for the addons 2017-08-14 00:23:21 +02:00
Daniel Marjamäki
ad82f49ae2 GUI: Suppressing results 2017-08-11 07:45:29 +02:00
Daniel Marjamäki
5de64d6755 GUI: Fixed locations for clang/clang-tidy warnings 2017-08-10 22:46:23 +02:00
Daniel Marjamäki
7468b40a5e GUI: Fix sinceDate handling 2017-08-03 23:27:18 +02:00
PKEuS
b4cf79f1b7 GUI: Refactorizations 2017-08-03 12:43:44 +02:00
Daniel Marjamäki
952c31638c Fixed #1862 (GUI: Allow user to tag errors) 2017-08-02 22:28:45 +02:00
Daniel Marjamäki
77d9a4d981 GUI: Remove unused method 2017-08-02 20:27:38 +02:00
Daniel Marjamäki
78e30e735e GUI: Better history. Prepare for tagging messages. 2017-08-02 20:24:23 +02:00
Daniel Marjamäki
3e2236ac73 GUI: Rename variables 2017-08-02 19:09:03 +02:00
orbitcowboy
cc210679a5 gnu.cfg: Added returnValue-types. 2017-08-02 14:34:06 +02:00
Daniel Marjamäki
274bc179bf GUI: constness 2017-08-02 14:26:56 +02:00
Daniel Marjamäki
f516c5696e GUI: small refactoring 2017-08-02 12:45:57 +02:00
Daniel Marjamäki
5c7591db9e Fix issues detected by Coverity, ResultsTree did not initialize all member variables 2017-08-02 08:57:44 +02:00
Daniel Marjamäki
2f554e82ff GUI: modernize connect in ResultsTree 2017-07-31 08:18:34 +02:00
Daniel Marjamäki
fcce43fb8d GUI: reopen project after restart. If build dir is specified the last results will also be shown. 2017-07-30 00:13:00 +02:00
Daniel Marjamäki
c1eb71e84d GUI: Rename methods 2017-07-28 13:43:49 +02:00
Daniel Marjamäki
98803bb14c GUI: Renamed methods in ThreadHandler 2017-07-28 12:39:28 +02:00
Daniel Marjamäki
90dd04d317 GUI: Update connect() 2017-07-28 12:22:15 +02:00
Daniel Marjamäki
090062baaf GUI: Rename ResultsTree methods 2017-07-28 11:54:20 +02:00
Daniel Marjamäki
252fab2181 GUI: Renamed common functions 2017-07-28 11:20:35 +02:00
Daniel Marjamäki
0d8b7af2b3 GUI: Renamed methods in Report 2017-07-28 11:12:05 +02:00
Daniel Marjamäki
24ce4292f2 GUI: Rename methods in ApplicationList 2017-07-28 05:18:43 +02:00
Daniel Marjamäki
cc2526c5c5 Fixed #8096 (GUI: crash in ResultsTree::AddErrorItem) 2017-06-07 11:55:21 +02:00
Daniel Marjamäki
a20fb4f36a GUI: Update results 2017-05-21 08:25:55 +02:00
Daniel Marjamäki
1c970df17f Revert "GUI: fix results if there is problem only in header and not in file-1."
This reverts commit 997a3cd9cacad255a5e68e3e6b77ded26f65998d.
2016-09-19 15:40:15 +02:00
Daniel Marjamäki
997a3cd9ca GUI: fix results if there is problem only in header and not in file0. 2016-09-18 21:32:53 +02:00
Akhilesh Nema
06ded4a3d4 Fixed #7240 (GUI: Result tree Context Menu should show default editor application only.) 2016-01-16 15:19:06 +01:00
Akhilesh Nema
4aa2876ca0 Fixed #7278 (GUI: error rechecking with some files) 2016-01-15 16:52:22 +01:00
Lauri Nurmi
996c9244d8 Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
Akhilesh Nema
997d7dc695 Fixed #7231 (GUI: 'Selected File Recheck' being performed multiple times if file selection includes existing error messages.) 2015-12-29 01:38:36 +01:00