Skip to content

Commit

Permalink
Fix review comments.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <blackslayer4@gmail.com>
  • Loading branch information
allexzander committed May 16, 2022
1 parent f2a801b commit eff821a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/selectivesyncdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ void SelectiveSyncWidget::slotUpdateDirectories(QStringList list)
void SelectiveSyncWidget::slotUpdateRootFolderFilesSize(const QStringList &subfolders)
{
const auto job = qobject_cast<LsColJob *>(sender());

if (!job) {
qWarning() << "slotUpdateRootFolderFilesSize must have a valid sender";
return;
}

_rootFilesSize = 0;

Expand Down

0 comments on commit eff821a

Please sign in to comment.