Misc code cleanup for the sql examples: - don't include global Qt headers but only needed ones - use proper tr() where possible - pass parameters by const ref - style fixes Change-Id: I4fd4293948918b9d7b373b6d1e8eeecf6f25a622 Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
17 lines
295 B
C++
17 lines
295 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#include "bookwindow.h"
|
|
|
|
#include <QApplication>
|
|
|
|
int main(int argc, char * argv[])
|
|
{
|
|
QApplication app(argc, argv);
|
|
|
|
BookWindow win;
|
|
win.show();
|
|
|
|
return app.exec();
|
|
}
|