ui: Fixed history dropdown click opened again when clicking on history button on Windows

This commit is contained in:
Eberhard Graether
2017-12-15 15:38:43 +01:00
parent 76f5ee1dc0
commit 618ed72241
7 changed files with 52 additions and 10 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ std::string QtBookmark::getDateString() const
{
result = "today";
}
else if (creationDate.deltaDays(now) == 1) // yesterday
else if (now.deltaDays(creationDate) == 1) // yesterday
{
result = "yesterday";
}