6.5.3 clean

This commit is contained in:
kleuter
2023-11-01 18:02:52 +01:00
parent bbe896803b
commit 7018d9e6c8
2170 changed files with 57471 additions and 43550 deletions

View File

@ -89,6 +89,7 @@ BookWindow::BookWindow()
);
ui.bookTable->setCurrentIndex(model->index(0, 0));
ui.bookTable->selectRow(0);
createMenuBar();
}

View File

@ -22,8 +22,8 @@ private slots:
private:
void showError(const QSqlError &err);
Ui::BookWindow ui;
QSqlRelationalTableModel *model;
int authorIdx, genreIdx;
QSqlRelationalTableModel *model = nullptr;
int authorIdx = 0, genreIdx = 0;
void createMenuBar();
};

View File

@ -64,6 +64,9 @@
<string>Details</string>
</property>
<layout class="QFormLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="text">

View File

@ -7,8 +7,6 @@
int main(int argc, char * argv[])
{
Q_INIT_RESOURCE(books);
QApplication app(argc, argv);
BookWindow win;