Files
FWS-DiskCleaner/src/main.cpp
T
BlackAngelTV 977b1c35a9 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.
2026-11-27 07:41:04 +01:00

24 lines
691 B
C++

#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();
}