mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-29 10:56:48 -05:00
make stackedWidget index using enum
This commit is contained in:
parent
0f057a8351
commit
f183260ad6
2 changed files with 20 additions and 13 deletions
|
|
@ -39,6 +39,13 @@ class MainWindow : public QMainWindow
|
|||
public:
|
||||
MainWindow();
|
||||
~MainWindow();
|
||||
enum StackedWidgetIndex
|
||||
{
|
||||
DatabaseTabScreen = 0,
|
||||
SettingsScreen = 1,
|
||||
WelcomeScreen = 2,
|
||||
PasswordGeneratorScreen = 3
|
||||
};
|
||||
|
||||
public slots:
|
||||
void openDatabase(const QString& fileName, const QString& pw = QString(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue