Log message if qss file can not be opened for write

This commit is contained in:
Klaus Basan
2019-07-09 21:14:09 +02:00
committed by Mat Sutcliffe
parent 26ddf3a353
commit b71fb71fdc
3 changed files with 19 additions and 5 deletions

View File

@@ -12,6 +12,7 @@
#define BLACKGUI_STYLESHEETUTILITY_H
#include "blackgui/blackguiexport.h"
#include "blackmisc/logcategorylist.h"
#include "blackmisc/restricted.h"
#include "blackmisc/digestsignal.h"
@@ -40,6 +41,9 @@ namespace BlackGui
//! Constructor
explicit CStyleSheetUtility(BlackMisc::Restricted<CGuiApplication>, QObject *parent = nullptr);
//! Log cats.
static const BlackMisc::CLogCategoryList &getLogCategories();
//! Style for given file name
QString style(const QString &fileName) const;