2026-08-26 00:28:35 +02:00
|
|
|
#include <QApplication>
|
2026-09-26 10:33:22 +02:00
|
|
|
#include <QIcon>
|
2026-08-26 00:28:35 +02:00
|
|
|
|
|
|
|
|
#include "mainwindow.h"
|
|
|
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
|
{
|
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
app.setApplicationName(QStringLiteral("photogallery-uploader"));
|
|
|
|
|
app.setOrganizationName(QStringLiteral("inflo.ws"));
|
|
|
|
|
|
2026-09-26 10:33:22 +02:00
|
|
|
// Window / taskbar / alt-tab icon, embedded via app.qrc. Several sizes so
|
|
|
|
|
// the small titlebar rendering stays crisp rather than downscaling 512px.
|
|
|
|
|
QIcon icon;
|
|
|
|
|
icon.addFile(QStringLiteral(":/icons/app-32.png"));
|
|
|
|
|
icon.addFile(QStringLiteral(":/icons/app-128.png"));
|
|
|
|
|
icon.addFile(QStringLiteral(":/icons/app-256.png"));
|
|
|
|
|
icon.addFile(QStringLiteral(":/icons/app-512.png"));
|
|
|
|
|
app.setWindowIcon(icon);
|
|
|
|
|
|
2026-08-26 00:28:35 +02:00
|
|
|
MainWindow window;
|
|
|
|
|
window.resize(440, 680);
|
|
|
|
|
window.show();
|
|
|
|
|
return app.exec();
|
|
|
|
|
}
|