equal
deleted
inserted
replaced
57 // ------ |
57 // ------ |
58 |
58 |
59 |
59 |
60 void createMirroredList(const QString &fullThemePath) |
60 void createMirroredList(const QString &fullThemePath) |
61 { |
61 { |
62 std::cout << "Parsing mirrored list for theme " << fullThemePath.toStdString() << "\n"; |
62 if (verboseOn) { |
|
63 std::cout << "Parsing mirrored list for theme " << fullThemePath.toStdString() << "\n"; |
|
64 } |
63 // Find mirrored.txt file |
65 // Find mirrored.txt file |
64 QString filename = fullThemePath + "/mirrored.txt"; |
66 QString filename = fullThemePath + "/mirrored.txt"; |
65 // Try to read file |
67 // Try to read file |
66 QFile file(filename); |
68 QFile file(filename); |
67 if (file.open(QIODevice::ReadOnly)) { |
69 if (file.open(QIODevice::ReadOnly)) { |
79 } |
81 } |
80 } |
82 } |
81 |
83 |
82 void createLockedList(const QString &fullThemePath) |
84 void createLockedList(const QString &fullThemePath) |
83 { |
85 { |
84 std::cout << "Parsing locked list for theme " << fullThemePath.toStdString() << "\n"; |
86 if (verboseOn) { |
|
87 std::cout << "Parsing locked list for theme " << fullThemePath.toStdString() << "\n"; |
|
88 } |
85 // Find locked.txt file |
89 // Find locked.txt file |
86 QString filename = fullThemePath + "/locked.txt"; |
90 QString filename = fullThemePath + "/locked.txt"; |
87 // Try to read file |
91 // Try to read file |
88 QFile file(filename); |
92 QFile file(filename); |
89 if (file.open(QIODevice::ReadOnly)) { |
93 if (file.open(QIODevice::ReadOnly)) { |