Skip to content

Commit d8782ae

Browse files
committed
fix: infoThread null check
1 parent 89ed5cf commit d8782ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ opkg install rm2fb
2727
In SSH session, run these command to download and unpack distributed package to `/home/root` location:
2828
```bash
2929
cd /home/root
30-
wget "https://github.com/khanhas/zshelf/releases/download/v0.3.0/zshelf-reMarkable-0.3.0.zip"
31-
unzip "zshelf-reMarkable-0.3.0.zip"
30+
wget "https://github.com/khanhas/zshelf/releases/download/v0.3.0/zshelf-reMarkable-0.3.1.zip"
31+
unzip "zshelf-reMarkable-0.3.1.zip"
3232
```
3333

3434
### [IMPORTANT] Configure domain and cookie

store.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Store::Store() : rootView(rootObject()), context(rootContext())
3535
connect(worker, &Worker::socketClosed, this, [this]() {
3636
context->setContextProperty("titleVisible", QVariant(false));
3737
setProperty("isBusy", false);
38-
if (initialInfo) {
38+
if (initialInfo && infoThread != nullptr) {
3939
infoThread->work();
4040
initialInfo = false;
4141
}

0 commit comments

Comments
 (0)