gui: Port to Qt6

This commit is contained in:
Mavroudis Chatzilazaridis
2024-04-28 23:55:12 +03:00
parent c83ea95e52
commit 7f22ea9568
20 changed files with 188 additions and 41 deletions
+2 -2
View File
@@ -606,7 +606,7 @@ void Kb::readNotify(const QString& line){
QString modified = components[2];
KbProfile* newProfile = nullptr;
foreach(KbProfile* profile, _profiles){
if(profile->id().guid == guid){
if(profile->id().guid == QUuid::fromString(guid)){
newProfile = profile;
break;
}
@@ -659,7 +659,7 @@ void Kb::readNotify(const QString& line){
KbMode* hwMode = nullptr;
bool isUpdated = false;
foreach(KbMode* kbMode, _hwProfile->modes()){
if(kbMode->id().guid == guid){
if(kbMode->id().guid == QUuid::fromString(guid)){
hwMode = kbMode;
if(kbMode->id().hwModifiedString() != modified){
// Update modification time