Add memory usage debug info for status bar

This commit is contained in:
Veronica Berglyd Olsen
2023-11-28 16:44:01 +01:00
parent ff7f27ff97
commit 83c9fb96e9
5 changed files with 37 additions and 4 deletions
+2 -2
View File
@@ -225,7 +225,8 @@ class Config:
# Other System Info
self.hostName = QSysInfo.machineHostName()
self.kernelVer = QSysInfo.kernelVersion()
self.isDebug = False
self.isDebug = False # True if running in debug mode
self.memInfo = False # True if displaying mem info in status bar
# Packages
self.hasEnchant = False # The pyenchant package
@@ -485,7 +486,6 @@ class Config:
self._recentObj.loadCache()
self._checkOptionalPackages()
self.isDebug = logger.getEffectiveLevel() == logging.DEBUG
logger.debug("Config instance initialised")