diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2017-12-17 18:56:47 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2017-12-17 18:56:47 -0800 |
commit | c2ddfe4cb437d0219f1961793918ef341bbfec72 (patch) | |
tree | 8614625436e243a07c4303939ff51396846a9204 /autoaccept.patch | |
download | qtox-c2ddfe4cb437d0219f1961793918ef341bbfec72.tar.xz |
Initial commit
Diffstat (limited to 'autoaccept.patch')
-rw-r--r-- | autoaccept.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/autoaccept.patch b/autoaccept.patch new file mode 100644 index 0000000..7c8a781 --- /dev/null +++ b/autoaccept.patch @@ -0,0 +1,13 @@ +diff --git a/src/widget/friendwidget.cpp b/src/widget/friendwidget.cpp +index 752c2f81..a0d76c58 100644 +--- a/src/widget/friendwidget.cpp ++++ b/src/widget/friendwidget.cpp +@@ -222,7 +222,7 @@ void FriendWidget::onContextMenuCalled(QContextMenuEvent* event) + Settings::getInstance().setAutoAcceptDir(id, ""); + } else if (autoAccept->isChecked()) { + const QString dir = QFileDialog::getExistingDirectory( +- Q_NULLPTR, tr("Choose an auto accept directory", "popup title"), dir); ++ Q_NULLPTR, tr("Choose an auto accept directory", "popup title"), Settings::getInstance().getAutoAcceptDir(id)); + + autoAccept->setChecked(true); + qDebug() << "Setting auto accept dir for" << friendId << "to" << dir; |