commit | 522c2f1d9b7547647a5bd91f97e2664b813f6cb8 | [log] [tgz] |
---|---|---|
author | Anthony LĂ©onard <anthony.leonard@savoirfairelinux.com> | Fri Apr 21 10:59:06 2017 -0400 |
committer | Olivier SOLDANO <olivier.soldano@savoirfairelinux.com> | Fri Apr 21 14:13:45 2017 -0400 |
tree | b45a461f79f27301fe47fe999029c8ecab4dd337 | |
parent | 2d99df029402a905aee44bfa15bef98d29416045 [diff] |
refactoring of SmartListDelegate Comments are added to improve readability of the item drawing code as it is not always self-explanatory. Furthermore, some lines are moved or deleted for various reasons: * Some lines were repeated or not doing any operations. * Objects/structures were initialised at one place but used much later in code which lead to poor legibility. * Dead code, variables and constants were present. Change-Id: I833769cc594033d88a70ce192ae002ac091a37a5 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