Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
92ab48d0
Commit
92ab48d0
authored
Jun 23, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The file transfer download directory cannot be undefined
parent
c83ec3f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
preferences.py
blink/preferences.py
+0
-6
preferences.ui
resources/preferences.ui
+1
-1
No files found.
blink/preferences.py
View file @
92ab48d0
...
@@ -287,7 +287,6 @@ class PreferencesWindow(base_class, ui_class):
...
@@ -287,7 +287,6 @@ class PreferencesWindow(base_class, ui_class):
self
.
traffic_units_button
.
clicked
.
connect
(
self
.
_SH_TrafficUnitsButtonClicked
)
self
.
traffic_units_button
.
clicked
.
connect
(
self
.
_SH_TrafficUnitsButtonClicked
)
# File transfer
# File transfer
self
.
download_directory_editor
.
locationCleared
.
connect
(
self
.
_SH_DownloadDirectoryEditorLocationCleared
)
self
.
download_directory_browse_button
.
clicked
.
connect
(
self
.
_SH_DownloadDirectoryBrowseButtonClicked
)
self
.
download_directory_browse_button
.
clicked
.
connect
(
self
.
_SH_DownloadDirectoryBrowseButtonClicked
)
self
.
file_transfer_alert_button
.
clicked
.
connect
(
self
.
_SH_FileTransferAlertButtonClicked
)
self
.
file_transfer_alert_button
.
clicked
.
connect
(
self
.
_SH_FileTransferAlertButtonClicked
)
...
@@ -1292,11 +1291,6 @@ class PreferencesWindow(base_class, ui_class):
...
@@ -1292,11 +1291,6 @@ class PreferencesWindow(base_class, ui_class):
settings
.
save
()
settings
.
save
()
# File transfer signal handlers
# File transfer signal handlers
def
_SH_DownloadDirectoryEditorLocationCleared
(
self
):
settings
=
SIPSimpleSettings
()
settings
.
file_transfer
.
directory
=
None
settings
.
save
()
def
_SH_DownloadDirectoryBrowseButtonClicked
(
self
,
checked
):
def
_SH_DownloadDirectoryBrowseButtonClicked
(
self
,
checked
):
# TODO: open the file selection dialog in non-modal mode. Same for the one for TLS CA list and the IconSelector from contacts. -Dan
# TODO: open the file selection dialog in non-modal mode. Same for the one for TLS CA list and the IconSelector from contacts. -Dan
settings
=
SIPSimpleSettings
()
settings
=
SIPSimpleSettings
()
...
...
resources/preferences.ui
View file @
92ab48d0
...
@@ -2181,7 +2181,7 @@
...
@@ -2181,7 +2181,7 @@
</widget>
</widget>
</item>
</item>
<item
row=
"0"
column=
"1"
>
<item
row=
"0"
column=
"1"
>
<widget
class=
"
LocationBar
"
name=
"download_directory_editor"
>
<widget
class=
"
QLineEdit
"
name=
"download_directory_editor"
>
<property
name=
"readOnly"
>
<property
name=
"readOnly"
>
<bool>
true
</bool>
<bool>
true
</bool>
</property>
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment