Skip to content

Commit

Permalink
fix: infoThread null check
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhas committed Feb 20, 2021
1 parent 89ed5cf commit d8782ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ opkg install rm2fb
In SSH session, run these command to download and unpack distributed package to `/home/root` location:
```bash
cd /home/root
wget "https://github.com/khanhas/zshelf/releases/download/v0.3.0/zshelf-reMarkable-0.3.0.zip"
unzip "zshelf-reMarkable-0.3.0.zip"
wget "https://github.com/khanhas/zshelf/releases/download/v0.3.0/zshelf-reMarkable-0.3.1.zip"
unzip "zshelf-reMarkable-0.3.1.zip"
```

### [IMPORTANT] Configure domain and cookie
Expand Down
2 changes: 1 addition & 1 deletion store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Store::Store() : rootView(rootObject()), context(rootContext())
connect(worker, &Worker::socketClosed, this, [this]() {
context->setContextProperty("titleVisible", QVariant(false));
setProperty("isBusy", false);
if (initialInfo) {
if (initialInfo && infoThread != nullptr) {
infoThread->work();
initialInfo = false;
}
Expand Down

0 comments on commit d8782ae

Please sign in to comment.