*blood sacrifice for clang*
This commit is contained in:
parent
c7947368b0
commit
9002d1201d
@ -7,8 +7,8 @@
|
||||
// #define DEBUG_TRANSITION
|
||||
|
||||
Courtroom::Courtroom(AOApplication *p_ao_app)
|
||||
: QMainWindow(),
|
||||
ao_app{p_ao_app}
|
||||
: QMainWindow()
|
||||
, ao_app{p_ao_app}
|
||||
{
|
||||
setWindowFlags((this->windowFlags() | Qt::CustomizeWindowHint) & ~Qt::WindowMaximizeButtonHint);
|
||||
|
||||
@ -1370,9 +1370,11 @@ void Courtroom::done_received()
|
||||
|
||||
show();
|
||||
|
||||
if (Options::getInstance().restoreWindowPositionEnabled()) {
|
||||
if (Options::getInstance().restoreWindowPositionEnabled())
|
||||
{
|
||||
auto maybe_point = Options::getInstance().windowPosition("courtroom");
|
||||
if (maybe_point.has_value()) {
|
||||
if (maybe_point.has_value())
|
||||
{
|
||||
qDebug() << maybe_point.value();
|
||||
QMainWindow::move(maybe_point.value());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user