Skip to content

Commit 957c6eb

Browse files
jonoomphferdnyc
andauthored
Apply suggestions from code review
Co-authored-by: Frank Dana <[email protected]>
1 parent 598c4f0 commit 957c6eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

freeze.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def find_files(directory, patterns):
215215
external_so_files.append((resvg_path, os.path.basename(resvg_path)))
216216

217217
# Add QtWebEngineProcess (if found)
218-
web_process_path = "/usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess"
218+
web_process_path = ARCHLIB + "qt5/libexec/QtWebEngineProcess"
219219
external_so_files.append((web_process_path, os.path.basename(web_process_path)))
220220

221221
# Add QtWebEngineProcess Resources & Local
@@ -226,12 +226,12 @@ def find_files(directory, patterns):
226226
external_so_files.append((filename, os.path.relpath(filename, start=qt5_path)))
227227

228228
# Add Qt xcbglintegrations plugin
229-
xcbgl_path = "/usr/lib/x86_64-linux-gnu/qt5/"
229+
xcbgl_path = ARCHLIB + "qt5/"
230230
for filename in find_files(os.path.join(xcbgl_path, "plugins", "xcbglintegrations"), ["*"]):
231231
external_so_files.append((filename, os.path.relpath(filename, start=xcbgl_path)))
232232

233233
# Add libsoftokn3
234-
nss_path = "/usr/lib/x86_64-linux-gnu/nss/"
234+
nss_path = ARCHLIB + "nss/"
235235
for filename in find_files(nss_path, ["*"]):
236236
external_so_files.append((filename, os.path.basename(filename)))
237237

src/timeline/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ $(document).ready(function () {
7979
});
8080

8181
body_object.keyup(function () {
82-
if (body_object.scope().shift_pressed) {
82+
if (event.which === 16) {
8383
if (timeline) {
8484
timeline.qt_log("Shift released!");
8585
}

0 commit comments

Comments
 (0)