[Interest] fixit in Creator 7.01

2022-05-04 Thread John Weeks
Our old code has tons of assignments inside if statements, like: if (err = somefunction()) return err; These are flagged by the clangd suggesting that it should be either if ( (err = somefunction()) ) or if (err == somefunction()) In the past, if you left-clicked on the little light bulb

Re: [Interest] QColumnView and QTreeView using same model

2022-05-04 Thread Michael Jackson
Thank you for the tips. Got the checkboxes working. -- Mike Jackson On 5/4/22, 10:06 AM, "Interest on behalf of Tony Rietwyk" wrote: On 4/05/2022 11:43 pm, Michael Jackson wrote: > ... > Now on to figure out how to display checkboxes next to each item. I've tried: > > Qt:

Re: [Interest] QColumnView and QTreeView using same model

2022-05-04 Thread Tony Rietwyk
On 4/05/2022 11:43 pm, Michael Jackson wrote: ... Now on to figure out how to display checkboxes next to each item. I've tried: Qt::ItemFlags ImportDataStructureModel::flags(const QModelIndex& index) const { if(!index.isValid()) { return {}; } return Qt::ItemIsUserCheckable | Qt

Re: [Interest] QColumnView and QTreeView using same model

2022-05-04 Thread Michael Jackson
Thanks for the help. I was able to track it down to errors in my parent(…) method. I was just returning: return createIndex(0, 0, some_unique_value); which apparently works just fine for tree views but not for QColumnView. Now on to figure out how to display checkboxes next to each item. I've t

Re: [Interest] [Development] Issues with latest Qt MaintenanceTool and Kaspersky

2022-05-04 Thread Kai Köhne
> -Ursprüngliche Nachricht- > [...] > Is there a reason to be using a vbs file ? In windows a running executable > cannot replace itself, but it can rename itself. [...] Hi Julien, I don't know the exact reasons why the .vbs approach was chosen. I now filed https://bugreports.qt.io/brow

Re: [Interest] [Development] Issues with latest Qt MaintenanceTool and Kaspersky

2022-05-04 Thread Julien Cugnière
Le mer. 4 mai 2022 à 08:44, Kai Köhne a écrit : > They are not _included_ in the MaintenanceTool package. Anyhow, > "deferredrenameXX.vbs”are temporary files the MaintenaceTool.exe writes > to schedule an update of itself. That is, because on Windows an executable > cannot be replaced when