Don't call show() on visible windows
It messes with the geometry
This commit is contained in:
committed by
Tobias Fella
parent
4cf5b516d0
commit
736c4b02ed
@@ -290,9 +290,12 @@ int main(int argc, char *argv[])
|
||||
[&engine](const QStringList &arguments, const QString &workingDirectory) {
|
||||
Q_UNUSED(workingDirectory);
|
||||
|
||||
// Raise windows
|
||||
QWindow *window = windowFromEngine(&engine);
|
||||
window->show();
|
||||
|
||||
if (!window->isVisible()) {
|
||||
window->show();
|
||||
}
|
||||
|
||||
raiseWindow(window);
|
||||
|
||||
// Open matrix uri
|
||||
|
||||
Reference in New Issue
Block a user