mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Add menu option to allow screenshots
* Fix #7580 * Also refactor the code to move everything into MainWindow
This commit is contained in:
@@ -52,6 +52,7 @@ public:
|
||||
|
||||
QList<DatabaseWidget*> getOpenDatabases();
|
||||
void restoreConfigState();
|
||||
void setAllowScreenCapture(bool state);
|
||||
|
||||
enum StackedWidgetIndex
|
||||
{
|
||||
@@ -192,6 +193,7 @@ private:
|
||||
bool m_restartRequested = false;
|
||||
bool m_contextMenuFocusLock = false;
|
||||
bool m_showToolbarSeparator = false;
|
||||
bool m_allowScreenCapture = false;
|
||||
qint64 m_lastFocusOutTime = 0;
|
||||
qint64 m_lastShowTime = 0;
|
||||
QTimer m_updateCheckTimer;
|
||||
|
||||
Reference in New Issue
Block a user