mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-16 07:09:58 +00:00
some refactoring
* massive changes inside includes, drop unused definitions * rewrite some initialization methods to avoid additional freeing/allocation * drop some explicit destructors calls
This commit is contained in:
@ -20,7 +20,6 @@
|
||||
#define AWCONFIGHELPER_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QStandardPaths>
|
||||
#include <QVariant>
|
||||
|
||||
|
||||
@ -57,15 +56,9 @@ private:
|
||||
void writeFile(QSettings &_settings, const QString &_key,
|
||||
const QString &_fileName) const;
|
||||
// properties
|
||||
QString m_baseDir = QString("%1/awesomewidgets")
|
||||
.arg(QStandardPaths::writableLocation(
|
||||
QStandardPaths::GenericDataLocation));
|
||||
QStringList m_dirs = QStringList() << "desktops"
|
||||
<< "quotes"
|
||||
<< "scripts"
|
||||
<< "upgrade"
|
||||
<< "weather"
|
||||
<< "formatters";
|
||||
QString m_baseDir;
|
||||
QStringList m_dirs
|
||||
= {"desktops", "quotes", "scripts", "upgrade", "weather", "formatters"};
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user