Style fix

This commit is contained in:
Nicolas Mailloux 2023-06-14 16:16:33 -04:00
parent 9d69deee99
commit bd2be24e00
5 changed files with 8 additions and 13 deletions

View file

@ -110,6 +110,6 @@
<file>resources/refresh-small.png</file> <file>resources/refresh-small.png</file>
<file>resources/checkbox-indeterminate.png</file> <file>resources/checkbox-indeterminate.png</file>
<file>resources/egg/0.jpg</file> <file>resources/egg/0.jpg</file>
<file>resources/egg/3.jpg</file> <file>resources/egg/1.jpg</file>
</qresource> </qresource>
</RCC> </RCC>

View file

@ -133,11 +133,12 @@ void localLibraryWidget::setupDatabase() {
QStringList args; QStringList args;
args << "env" << "icon_width_divider=" + QString::number(stdIconWidthDivider - 1.5) << "icon_height_divider=" + QString::number(stdIconHeightDivider - 1.5) << "./explore_local_library.sh" << booksList; args << "env" << "icon_width_divider=" + QString::number(stdIconWidthDivider - 1.5) << "icon_height_divider=" + QString::number(stdIconHeightDivider - 1.5) << "./explore_local_library.sh" << booksList;
/* Logs/steps needed to debug the database creation /*
* for(int i = 0; i < args.count(); i++) { * Logs/steps needed to debug the database creation
* log("Arguments for database creation: '" + args[i] + "'", className); * for(int i = 0; i < args.count(); i++) {
* } * log("Arguments for database creation: '" + args[i] + "'", className);
*/ * }
*/
QProcess *proc = new QProcess(); QProcess *proc = new QProcess();
proc->start(prog, args); proc->start(prog, args);

View file

Before

Width:  |  Height:  |  Size: 258 KiB

After

Width:  |  Height:  |  Size: 258 KiB

View file

@ -61,12 +61,6 @@ void egg::changeIndex(int index) {
name.append("Szybet<br>(Contributor)"); name.append("Szybet<br>(Contributor)");
} }
else if(index == 1) { else if(index == 1) {
name.append("NiLuJe<br>(Contributor)");
}
else if(index == 2) {
name.append("akemnade<br>(Contributor)");
}
else if(index == 3) {
name.append("tux-linux<br>(Maintainer)"); name.append("tux-linux<br>(Maintainer)");
} }
name.append("</b></div>"); name.append("</b></div>");

View file

@ -20,7 +20,7 @@ public:
explicit egg(QWidget *parent = nullptr); explicit egg(QWidget *parent = nullptr);
~egg(); ~egg();
int index = 0; int index = 0;
const int maximumIndex = 3; const int maximumIndex = 1;
bool firstRun = true; bool firstRun = true;
void changeIndex(int index); void changeIndex(int index);