The branch naming has changed to try to accommodate for the stopping of the "KDE Applications" brand, it's now called
release/19.12
Make sure you commit anything you want to end up in the 19.12 releases to them
We're already past the dependency freeze.
The Freeze and Beta is this Thursday 14 of November.
More interesting dates
November 28, 2019: KDE Applications 19.12 RC (19.11.90) Tagging and Release
December 5, 2019: KDE Applications 19.12 Tagging
December 12, 2019: KDE Applications 19.12 Release
https://community.kde.org/Schedules/Applications/19.12_Release_Schedule
Cheers,
Albert
P.S: Yes, this release unfortunately falls in the middle of the debranding of "KDE Applications" and there's still a few things called "KDE Applications" here and there
[*] There's a small issue with kwave we're working on figuring it out
A blog about random things and sometimes about my work translating and developing KDE and anything
Sunday, November 10, 2019
Thursday, November 07, 2019
You can use a C++11 range for loop over a static array
void DeviceListing::populateListing(const show showStatus) { const Solid::DeviceInterface::Type needHardware[] = { Solid::DeviceInterface::Processor, Solid::DeviceInterface::StorageDrive, Solid::DeviceInterface::Battery, Solid::DeviceInterface::PortableMediaPlayer, Solid::DeviceInterface::Camera }; clear(); for (unsigned int i = 0; i < (sizeof(needHardware)/sizeof(Solid::DeviceInterface::Type)); i++) { QTreeWidgetItem *tmpDevice = createListItems(needHardware[i]); deviceMap[needHardware[i]] = static_cast(tmpDevice); if ((tmpDevice->childCount() > 0) || (showStatus == ALL)) { addTopLevelItem(tmpDevice); } } }
in C++11 you can rewrite it in the much easier to read
void DeviceListing::populateListing(const show showStatus) { const Solid::DeviceInterface::Type needHardware[] = { Solid::DeviceInterface::Processor, Solid::DeviceInterface::StorageDrive, Solid::DeviceInterface::Battery, Solid::DeviceInterface::PortableMediaPlayer, Solid::DeviceInterface::Camera }; clear(); for (const Solid::DeviceInterface::Type nh : needHardware) { QTreeWidgetItem *tmpDevice = createListItems(nh); deviceMap[nh] = static_cast(tmpDevice); if ((tmpDevice->childCount() > 0) || (showStatus == ALL)) { addTopLevelItem(tmpDevice); } } }
Subscribe to:
Posts (Atom)