feat: add treemap disk space analyzer
Users need to see at a glance what fills a disk and to remove the largest entries without digging through a file manager. The treemap makes sizes comparable, the scan runs off the UI thread, and removing an entry updates the tree in place instead of rescanning.
This commit is contained in:
1 parent
08befc1bf5
commit
977b1c35a9
15 files changed
+1461
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#include "ui/main-window.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QIcon>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
QApplication::setApplicationName(QStringLiteral("FWS DiskCleaner"));
|
||||
QApplication::setApplicationDisplayName(QStringLiteral("FWS DiskCleaner"));
|
||||
QApplication::setDesktopFileName(QStringLiteral("fws-diskcleaner"));
|
||||
QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("fws-diskcleaner")));
|
||||
|
||||
QString startPath;
|
||||
const QStringList arguments = QApplication::arguments();
|
||||
if (arguments.size() > 1) {
|
||||
startPath = arguments.at(1);
|
||||
}
|
||||
|
||||
MainWindow window(startPath);
|
||||
window.show();
|
||||
return app.exec();
|
||||
}
|
||||
Reference in new issue
Block a user