Skip to content

Commit

Permalink
chore: reduce compilation warnings
Browse files Browse the repository at this point in the history
解决赋值返回警告

Issue: linuxdeepin/dtk#96
  • Loading branch information
OneZeroer committed Jul 5, 2023
1 parent 3cf033b commit 3b6e021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel/dguiapplicationhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1567,7 +1567,7 @@ bool DGuiApplicationHelper::hasUserManual() const
"/com/deepin/Manual/Search",
"com.deepin.Manual.Search");
if (!manualSearch.isValid())
return hasManual = hasLocalManualFile();
return (hasManual = hasLocalManualFile());

QDBusPendingCall call = manualSearch.asyncCall("ManualExists", qApp->applicationName());
QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(call, const_cast<DGuiApplicationHelper *>(this));
Expand Down

0 comments on commit 3b6e021

Please sign in to comment.