Skip to content

Instantly share code, notes, and snippets.

View kleuter's full-sized avatar
🎅
Not much is happening

Kleuter kleuter

🎅
Not much is happening
View GitHub Profile
@kleuter
kleuter / test.cpp
Created June 20, 2024 09:50
test.cpp
#include <QtCore/QCoreApplication>
#include <QtCore>
QString formatFileSize(qint64 size) {
const qint64 KB = 1024;
const qint64 MB = 1024 * KB;
const qint64 GB = 1024 * MB;
const qint64 TB = 1024 * GB;
/* This code reverts Mozilla Thunderbird unread badges to numbers in parentheses like it was before SuperNova 115 */
.name {
flex: inherit !important;
margin-right: 4px !important;
}
.folder-count-badge {
color: inherit !important;
font-size: inherit !important;