diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index d96da2a..954d8e8 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -786,7 +786,6 @@ t_gui::t_gui(t_phone *_phone) : t_userintf(_phone), timerUpdateMessageSessions(N qRegisterMetaType<std::list<std::string>>("std::list<std::string>"); m_idle_session_manager = new IdleSessionManager(this); - updateInhibitIdleSession(); connect(this, &t_gui::update_state, this, &t_gui::updateIdleSessionState, Qt::QueuedConnection); @@ -825,6 +824,8 @@ void t_gui::run(void) { thr_process_events = new t_thread(process_events_main, NULL); MEMMAN_NEW(thr_process_events); + updateInhibitIdleSession(); + QString s; list<t_user *> user_list = phone->ref_users(); |