diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-06 06:14:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-06 06:14:57 +0100 |
commit | aa593e0840783d1b38b0c812fd2f8120491ee296 (patch) | |
tree | 05f038bf2fd200d9bb28544cfaf30a6940fcb5bc | |
parent | b31e4997de81efc3941072cc48b5f09064e62e81 (diff) |
gui/main: don't raise a new window, it's enough to set visible
-rw-r--r-- | gui/ui.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -446,7 +446,6 @@ bool mk_dialog(mem<dylib> lib, mem<t>& orig) orig = dialog; dialog->show(); - dialog->raise(); QObject::connect(dialog.get(), &plugin_api::detail::BaseDialog::closing, [&]() -> void { orig = nullptr; }); @@ -486,7 +485,6 @@ bool mk_window(mem<t>* place, Args&&... params) *place = std::make_shared<t>(std::forward<Args>(params)...); (*place)->setWindowFlags(Qt::Dialog); (*place)->show(); - (*place)->raise(); return true; } } |