X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fmain.cpp;h=26768f0f64ce5f56bc381da84c4e72fdd36a65f9;hb=refs%2Fheads%2Fmaster;hp=6332b1a7f407bf35f938145b1394b61d3d735e35;hpb=c8cd3bb736bf2dc877718d0bedef5548178bade1;p=minitube diff --git a/src/main.cpp b/src/main.cpp index 6332b1a..26768f0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,6 +23,8 @@ $END_LICENSE */ #include "constants.h" #include "iconutils.h" +#include "updateutils.h" + #include "mainwindow.h" #include "searchparams.h" #include @@ -62,7 +64,7 @@ void showWindow(QtSingleApplication &app, const QString &pkgDataDir) { } int main(int argc, char **argv) { -#ifndef Q_NO_DEBUG_OUTPUT +#ifndef QT_NO_DEBUG_OUTPUT qSetMessagePattern("[%{function}] %{message}"); #endif @@ -138,7 +140,9 @@ int main(int argc, char **argv) { QNetworkProxyFactory::setUseSystemConfiguration(true); - IconUtils::setSizes({16, 24, 32, 88}); + IconUtils::setSizes({16, 24, 32, 88, 128}); + + UpdateUtils::init(); showWindow(app, pkgDataDir);