Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    Tietokanta db;
    if (!db.LuoLiityntaTietokantaan()) return 1;
    db.LuoTietokantaTaulu(0);
    db.TaytaDemoDataa();
    ScooterWindow window;
    window.resize(800, 600);
    window.show();
    return app.exec();
}

Tietokannan luonti

...