Release 1.8.0

This commit is contained in:
arcan1s
2014-04-09 13:07:58 +04:00
parent 3fece265f4
commit 9c8be61855
7 changed files with 43 additions and 10 deletions

View File

@ -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);
};

View File

@ -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: