diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-04 02:06:56 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-04 02:06:56 +0100 |
commit | 3a781f925c170e56491897752aea448f4ea4bcf8 (patch) | |
tree | 845365531a4cbacd27cc61df89568ceb113c19a1 /src/jo_notify.cpp | |
parent | Quick update (diff) | |
download | lowbat-gnu-3a781f925c170e56491897752aea448f4ea4bcf8.tar.gz lowbat-gnu-3a781f925c170e56491897752aea448f4ea4bcf8.tar.bz2 lowbat-gnu-3a781f925c170e56491897752aea448f4ea4bcf8.tar.xz lowbat-gnu-3a781f925c170e56491897752aea448f4ea4bcf8.tar.zst lowbat-gnu-3a781f925c170e56491897752aea448f4ea4bcf8.zip |
Better code, removed some leaks
Diffstat (limited to 'src/jo_notify.cpp')
-rw-r--r-- | src/jo_notify.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/jo_notify.cpp b/src/jo_notify.cpp index 9f4c7de..1c54a40 100644 --- a/src/jo_notify.cpp +++ b/src/jo_notify.cpp @@ -7,7 +7,6 @@ jo_notify(const string batlvl) { str = "notify-send \"Low battery: "; str += batlvl; str += "%\" \"Please plug in computer\" -u critical -t 15000"; - return system(str.c_str()); } |