mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-15 06:45:48 +00:00
Release 1.8.0
This commit is contained in:
@ -39,7 +39,6 @@ public:
|
||||
const int pkgNull = 0);
|
||||
|
||||
protected:
|
||||
void readConfiguration();
|
||||
bool sourceRequestEvent(const QString &name);
|
||||
bool updateSourceEvent(const QString &source);
|
||||
QStringList sources() const;
|
||||
@ -50,6 +49,7 @@ private:
|
||||
// reread configuration
|
||||
QString getAllHdd();
|
||||
QString getAutoGpu();
|
||||
void readConfiguration();
|
||||
QMap<QString, QString> updateConfiguration(const QMap<QString, QString> rawConfig);
|
||||
};
|
||||
|
||||
|
@ -87,8 +87,12 @@ class ConfigDefinition:
|
||||
pkgCmd = []
|
||||
pkgNull = []
|
||||
for command in item:
|
||||
pkgCmd.append(str(command.split(QString(":"))[0]))
|
||||
pkgNull.append(str(command.split(QString(":"))[1]))
|
||||
try:
|
||||
pkgCmd.append(str(command.split(QString(":"))[0]))
|
||||
pkgNull.append(str(command.split(QString(":"))[1]))
|
||||
except:
|
||||
pkgCmd.append(str(command))
|
||||
pkgNull.append("0")
|
||||
deConfigFile.write("PKGCMD=" + ','.join(pkgCmd) + "\n")
|
||||
deConfigFile.write("PKGNULL=" + ','.join(pkgNull) + "\n")
|
||||
except:
|
||||
|
Reference in New Issue
Block a user