Skip to content

Commit

Permalink
Add license and fix warning
Browse files Browse the repository at this point in the history
Also clean out some now unused files
  • Loading branch information
barche committed Jul 3, 2020
1 parent 7297a43 commit c23dbff
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 14 deletions.
22 changes: 22 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
jlqml is licensed under the MIT "Expat" License:

> Copyright (c) 2015: Bart Janssens.
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 change: 0 additions & 1 deletion application_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ ApplicationManager::~ApplicationManager()
// Initialize the QApplication instance
void ApplicationManager::init_application()
{
qputenv("QML_PREFIX_PATH", QProcessEnvironment::systemEnvironment().value("QML_PREFIX_PATH").toLocal8Bit());
qputenv("QSG_RENDER_LOOP", QProcessEnvironment::systemEnvironment().value("QSG_RENDER_LOOP").toLocal8Bit());
if(m_app != nullptr && !m_quit_called)
{
Expand Down
2 changes: 0 additions & 2 deletions cmake/WinDeployQt.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion listmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void ListModel::emit_roles_changed()

void ListModel::emit_data_changed(int index, int count, const std::vector<int>& roles)
{
do_update(index, count, QVector<int>::fromStdVector(roles));
do_update(index, count, QVector<int>(roles.begin(), roles.end()));
}

void ListModel::do_update(int index, int count, const QVector<int> &roles)
Expand Down
5 changes: 0 additions & 5 deletions resources/qt.conf

This file was deleted.

5 changes: 0 additions & 5 deletions resources/resources.qrc

This file was deleted.

0 comments on commit c23dbff

Please sign in to comment.