14 * You should have received a copy of the GNU General Public License |
14 * You should have received a copy of the GNU General Public License |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 */ |
16 */ |
17 #include "EditFermentable.h" |
17 #include "EditFermentable.h" |
18 #include "../ui/ui_EditFermentable.h" |
18 #include "../ui/ui_EditFermentable.h" |
19 #include "bmsapp.h" |
19 #include "MainWindow.h" |
|
20 #include "Utils.h" |
20 |
21 |
21 |
22 |
22 EditFermentable::EditFermentable(int id, QWidget *parent) : QDialog(parent), ui(new Ui::EditFermentable) |
23 EditFermentable::EditFermentable(int id, QWidget *parent) : QDialog(parent), ui(new Ui::EditFermentable) |
23 { |
24 { |
24 QSqlQuery query; |
25 QSqlQuery query; |