add setWindowFlags(Qt::Window) to improve window management

* improves window handling a lot
	(on Linux GNOME 3 at least: quickly resizing windows left/right, not forced in foreground anymore etc.)
	setWindowFlags() inserted in all *window.cpp files except mainwindow
    * some whitespace at EOL trimmed
This commit is contained in:
MartinX
2019-02-13 20:08:41 +01:00
parent 22386826a7
commit 52f04791dd
20 changed files with 33 additions and 14 deletions
+3 -2
View File
@@ -11,6 +11,7 @@ FuzzingWindow::FuzzingWindow(const QVector<CANFrame> *frames, QWidget *parent) :
ui(new Ui::FuzzingWindow)
{
ui->setupUi(this);
setWindowFlags(Qt::Window);
modelFrames = frames;
@@ -185,7 +186,7 @@ void FuzzingWindow::setAllFilters()
void FuzzingWindow::calcNextID()
{
if (seqIDScan)
{
{
if (rangeIDSelect)
{
currentID++;
@@ -368,7 +369,7 @@ void FuzzingWindow::refreshIDList()
int id;
for (int i = 0; i < modelFrames->count(); i++)
{
{
CANFrame thisFrame = modelFrames->at(i);
id = thisFrame.ID;
if (!foundIDs.contains(id))