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
+2 -1
View File
@@ -9,6 +9,7 @@ RangeStateWindow::RangeStateWindow(const QVector<CANFrame> *frames, QWidget *par
ui(new Ui::RangeStateWindow)
{
ui->setupUi(this);
setWindowFlags(Qt::Window);
modelFrames = frames;
@@ -225,7 +226,7 @@ void RangeStateWindow::recalcButton()
if (modelFrames->at(j).ID == id) frameCache.append(modelFrames->at(j));
}
//now we've got a list with all the same ID. Time to send it off for processing
signalsFactory();
signalsFactory();
}
}