mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
13 lines
795 B
Diff
13 lines
795 B
Diff
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;
|