more WITH_VOICE guards

This commit is contained in:
ouwou
2023-03-14 14:18:54 -04:00
parent c075f16c17
commit e51d5d1980
4 changed files with 22 additions and 7 deletions

View File

@@ -51,10 +51,14 @@ MainWindow::MainWindow()
m_content_stack.set_visible_child("chat");
m_content_stack.show();
#ifdef WITH_VOICE
m_voice_info.show();
#endif
m_left_pane.add(m_channel_list);
#ifdef WITH_VOICE
m_left_pane.add(m_voice_info);
#endif
m_left_pane.show();
m_chan_content_paned.pack1(m_left_pane);