mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 01:04:06 +02:00
Because sometimes I just don't think things through
This commit is contained in:
parent
c0fc0a226b
commit
14efe912a6
1 changed files with 2 additions and 2 deletions
|
@ -51,16 +51,16 @@ void InfoView::show(const QString& path, bool firstOrChangedOnly) {
|
|||
}
|
||||
if (firstOrChangedOnly) {
|
||||
const QString lastVersion = infoVersion.get();
|
||||
const QString version = fetchVersion(url);
|
||||
// If we have version information stored
|
||||
if (lastVersion != QString::null) {
|
||||
// Check to see the document version. If it's valid and matches
|
||||
// the stored version, we're done, so exit
|
||||
const QString version = fetchVersion(url);
|
||||
if (version == QString::null || version == lastVersion) {
|
||||
return;
|
||||
}
|
||||
infoVersion.set(version);
|
||||
}
|
||||
infoVersion.set(version);
|
||||
}
|
||||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||
QString infoViewName(NAME + "_" + path);
|
||||
|
|
Loading…
Reference in a new issue