mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 00:45:46 +08:00
Improved automatic reloading of altered stylesheets
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/restricted.h"
|
||||
#include "blackmisc/digestsignal.h"
|
||||
|
||||
#include <QFileSystemWatcher>
|
||||
#include <QMap>
|
||||
@@ -144,8 +145,8 @@ namespace BlackGui
|
||||
void ps_qssDirectoryChanged(const QString &file);
|
||||
|
||||
private:
|
||||
QMap<QString, QString> m_styleSheets; //!< filename, stylesheet
|
||||
QFileSystemWatcher m_fileWatcher {this}; //!< Monitor my qss files
|
||||
QMap<QString, QString> m_styleSheets; //!< filename, stylesheet
|
||||
QFileSystemWatcher m_fileWatcher {this}; //!< Monitor my qss files
|
||||
};
|
||||
}
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user