Remove default parameter from Repo ctor, lead already to confusion.
Also add some more specific {get/set} repo functions, to be able to
distinguish between the different kind of repositories (needed for
setting dialog).
Change-Id: I2c1e4d5377799f54e408a89785bdc5f01619f846
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
Have an option to update the maintenace tool without using
the full installer binary. This can be used as fallback in
case the updater/ package manger won't start anymore.
Change-Id: I36be195203cb0172484d739c9f14a2e073ab7792
Reviewed-on: http://codereview.qt-project.org/5885
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Add the git sha1 and the build date to the verbose output, seems
more useful then the static version 2 we had before. Add --version
command line paramter. Small changes to the verbose output.
Change-Id: Idce7025dd64f3d56c2e6c53408167c95f41040d4
Reviewed-on: http://codereview.qt-project.org/5863
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
I can't see any reason to be able to set it from the outside,
thus it makes no sense to have that functionality at all.
To be able to work properly the app had to be set, but could
be easily forgotten, leading to a crash later on. Re-parsing
should be removed as well, will do it next.
This fixes a; an crash seen on Linux and Mac caused
by two instances of Q{Core}Application and b; should
hide the icon and suppress message boxes in case we
check for updates. Seen on Mac mostly...
Review-by: tjenssen, Niels Weber
We can't use a core application here, as in case of we can't
connect to the update server, we would try to pop up a message
box. This fails and crashes cause we have no gui application.
We can't use a core application here, as in case of we can't
connect to the update server, we would try to pop up a message
box. This fails and crashes cause we have no gui application.
Introduce some magic marker to differentiate between update and
package management modus. The base installer now needs explicite
arguments passed to make the app an updater or package manager.
Adjustment some more classes to take the new markers into account.