code style
This commit is contained in:
parent
2dcde7b37a
commit
282f51da87
|
@ -31,7 +31,8 @@ static int debugLevel = 0;
|
|||
static std::unique_ptr<QTextStream> logFile = std::unique_ptr<QTextStream>();
|
||||
static std::unique_ptr<QFile> file = std::unique_ptr<QFile>();
|
||||
|
||||
static void init(){
|
||||
static void init()
|
||||
{
|
||||
debugLevel = qgetenv("LIBSNORE_DEBUG_LVL").toInt();
|
||||
if (qgetenv("LIBSNORE_LOG_TO_FILE").toInt() == 1) {
|
||||
|
||||
|
|
|
@ -112,5 +112,4 @@ private:
|
|||
};
|
||||
}
|
||||
|
||||
|
||||
#endif // SNORECOREPRIVATE_H
|
||||
|
|
|
@ -25,8 +25,10 @@
|
|||
#include <QTextDocument>
|
||||
#include <QTextDocumentFragment>
|
||||
|
||||
namespace Snore {
|
||||
class SNORE_EXPORT Utils : public QObject {
|
||||
namespace Snore
|
||||
{
|
||||
class SNORE_EXPORT Utils : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Utils(QObject *parent = nullptr);
|
||||
|
|
Loading…
Reference in New Issue