commit | 266dd30e57ac1212110c0c72e67d6eeecb0925b2 | [log] [tgz] |
---|---|---|
author | Anthony LĂ©onard <anthony.leonard@savoirfairelinux.com> | Fri Mar 31 14:38:32 2017 -0400 |
committer | Olivier SOLDANO <olivier.soldano@savoirfairelinux.com> | Fri Apr 14 19:12:54 2017 -0400 |
tree | fbbc7d7d059d9a74e982f002203c99f77207720f | |
parent | d47179c3ca07ed5abbe2a852d06f5f10b4432ea5 [diff] |
display the selected account's RingID/username This patch improves the way the client react to a modification of the selected account. From a UI point of view, the displayed Ring ID now depends on the selected account in the combo box. Previously, it was always set to the first enabled Ring account found in AccountModel. The old behavior is removed from findRingAccount() which now only focus on looking if an account needs migration or if it is needed to create one (at first launch). Change-Id: If63a74eb320b8fc31064d87b04b5e062fc0cc10a Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
For more information about the ring project, see the following:
git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows
USE THE QMAKE OF Qt BUILT WITH MINGW (e.g. /usr/bin/[i686 | x86_64]-w64-mingw32-qmake-qt5)
cd ring-client-windows mkdir build && cd build export QTDIR=<path to mingw qt> (e.g. /usr/[i686 | x86_64]-w64-mingw32/lib/qt) git submodule init && git submodule update cd libqrencode ./autogen.sh && ./configure --host=[i686 | x86_64]-w64-mingw32 --prefix=<Install dir of Ring and LRC> make make install cd .. qmake ../RingWinClient.pro -r -spec win32-g++ RING=<Install dir of Ring and LRC> [BUILD=Debug] make make install
You will find all files in ./release directory.
#Auto update
If you want to enable auto-update
cd winsparkle mkdir build && cd build cmake -DCMAKE_TOOLCHAIN_FILE=<LRC Directory>/cmake/winBuild.cmake -DCMAKE_INSTALL_PREFIX=Install dir of Ring and LRC> ../cmake", make make install
ENABLE_AUTOUPDATE=True
Compile the client with 'BUILD=Debug' and libRingClient with '-DCMAKE_BUILD_TYPE=Debug'
cd build/release makensis ring.nsi