We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d0bf91 commit 275c4cdCopy full SHA for 275c4cd
src/xenia/ui/qt/widgets/nav.cc
@@ -44,11 +44,11 @@ void XNav::BuildTabs() {
44
// TODO(Wildenhaus): Define tabs in shell?
45
// (Razzile): Probably better to move to main window
46
// and keep widgets/ for reusable components
47
- std::vector<XTab*> tabs;
+ std::vector<XTab*> tabs = {new HomeTab(), new LibraryTab(),
48
+ new SettingsTab()};
49
+
50
if (cvars::show_debug_tab) {
- tabs = {new HomeTab(), new LibraryTab(), new SettingsTab(), new DebugTab()};
- } else {
51
- tabs = {new HomeTab(), new LibraryTab(), new SettingsTab()};
+ tabs.push_back(new DebugTab());
52
}
53
54
tab_selector_ = new XTabSelector(tabs);
0 commit comments