Skip to content

Commit

Permalink
Merge pull request #1779 from freedomofpress/export-with-json-gui
Browse files Browse the repository at this point in the history
Client-side support for VeraCrypt; use QWizard for export
  • Loading branch information
rocodes authored Feb 6, 2024
2 parents 7aa8a6e + fe2f5cb commit 97ce094
Show file tree
Hide file tree
Showing 38 changed files with 3,430 additions and 2,694 deletions.
9 changes: 2 additions & 7 deletions client/securedrop_client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from PyQt5.QtCore import Qt, QThread, QTimer
from PyQt5.QtWidgets import QApplication, QMessageBox

from securedrop_client import __version__, export, state
from securedrop_client import __version__, state
from securedrop_client.database import Database
from securedrop_client.db import make_session_maker
from securedrop_client.gui.main import Window
Expand Down Expand Up @@ -240,16 +240,11 @@ def start_app(args, qt_args) -> NoReturn: # type: ignore[no-untyped-def]
database = Database(session)
app_state = state.State(database)

with threads(4) as [
export_service_thread,
with threads(3) as [
sync_thread,
main_queue_thread,
file_download_queue_thread,
]:
export_service = export.getService()
export_service.moveToThread(export_service_thread)
export_service_thread.start()

gui = Window(app_state)

controller = Controller(
Expand Down
Loading

0 comments on commit 97ce094

Please sign in to comment.