diff --git a/launcher/desktop/include/settingswindow.h b/launcher/desktop/include/settingswindow.h index bf43d5f..d33a5c0 100644 --- a/launcher/desktop/include/settingswindow.h +++ b/launcher/desktop/include/settingswindow.h @@ -21,6 +21,9 @@ public slots: void reloadControls(); private: + void setupAccountsTab(QFormLayout& layout); + + // profile specific tabs void setupGameTab(QFormLayout& layout); void setupLoginTab(QFormLayout& layout); void setupWineTab(QFormLayout& layout); diff --git a/launcher/desktop/src/settingswindow.cpp b/launcher/desktop/src/settingswindow.cpp index 9a14f00..3fef144 100644 --- a/launcher/desktop/src/settingswindow.cpp +++ b/launcher/desktop/src/settingswindow.cpp @@ -154,6 +154,14 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC } } + { + auto accountsTabWidget = new QWidget(); + tabWidget->addTab(accountsTabWidget, "Accounts"); + + auto accountsLayout = new QGridLayout(); + accountsTabWidget->setLayout(accountsLayout); + } + tabWidget->setCurrentIndex(defaultTab); reloadControls(); @@ -630,3 +638,7 @@ void SettingsWindow::setupDalamudTab(QFormLayout& layout) { nativeLauncherVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse); layout.addRow("Native Launcher Version", nativeLauncherVersionLabel); } + +void SettingsWindow::setupAccountsTab(QFormLayout& layout) { + +}