Skip to content

Commit

Permalink
Version 0.4.3.
Browse files Browse the repository at this point in the history
- Added KeystrokeSender support for Mac OS (thanks to Nirad).
- Fixed AppVeyor compilation issues.
  • Loading branch information
cbnolok committed Jul 18, 2020
1 parent f3542b0 commit cf40138
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
image: Visual Studio 2019

branches:
only:
- master
Expand Down
7 changes: 5 additions & 2 deletions src/qtutils/modelutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,15 @@ void ModelUtils::resetCheckedStateCheckableProxyModel(CheckableProxyModel *model
for (int i = 0; i < model->rowCount(proxyParent); ++i)
{
const QModelIndex idx = model->index(i, 0, proxyParent);
if(!idx.isValid())
if (!idx.isValid())
continue;

model->setData(idx, value ? Qt::Checked : Qt::Unchecked, Qt::CheckStateRole);

const QModelIndex childIdx = idx.child(0,0);
const QAbstractItemModel *itemModel = idx.model();
if (!itemModel)
continue;
const QModelIndex childIdx = itemModel->index(0,0, idx);
if (childIdx.isValid())
resetCheckedStateCheckableProxyModel(model, value, childIdx);
}
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef VERSION_H
#define VERSION_H

#define LEVIATHAN_VERSION 0.4.2
#define LEVIATHAN_VERSION 0.4.3
#define BUILD_NOT_AUTOMATIC

#endif // VERSION_H

0 comments on commit cf40138

Please sign in to comment.