mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-22 02:22:44 -05:00
refactor: Simplify update mechanism (#159)
This commit is contained in:
@ -179,9 +179,7 @@ private:
|
||||
|
||||
void handleUpdateCheckResult(const PluginUpdater::UpdateInfo &info)
|
||||
{
|
||||
if (!info.isUpdateAvailable
|
||||
|| QVersionNumber::fromString(info.currentIdeVersion)
|
||||
> QVersionNumber::fromString(info.targetIdeVersion))
|
||||
if (!info.isUpdateAvailable)
|
||||
return;
|
||||
|
||||
if (m_statusWidget)
|
||||
|
||||
Reference in New Issue
Block a user