Merge pull request #3568

4bee715 [Qt] very minor style cleanups (Philip Kaufmann)
This commit is contained in:
Wladimir J. van der Laan 2014-01-22 13:33:51 +01:00
commit fe87b20717
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
8 changed files with 36 additions and 39 deletions

View File

@ -122,12 +122,12 @@
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>20</x>
<y>254</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -138,12 +138,12 @@
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>20</x>
<y>260</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

View File

@ -76,12 +76,12 @@
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>20</x>
<y>254</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -92,12 +92,12 @@
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>20</x>
<y>260</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

View File

@ -237,12 +237,12 @@
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>20</x>
<y>254</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -253,12 +253,12 @@
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>20</x>
<y>260</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

View File

@ -19,9 +19,6 @@
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tabSignMessage"> <widget class="QWidget" name="tabSignMessage">
<attribute name="title"> <attribute name="title">
<string>&amp;Sign Message</string> <string>&amp;Sign Message</string>

View File

@ -45,12 +45,12 @@
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>20</x>
<y>254</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -61,12 +61,12 @@
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>20</x>
<y>260</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

View File

@ -18,7 +18,7 @@ class RecentRequestEntry
public: public:
RecentRequestEntry() : nVersion(RecentRequestEntry::CURRENT_VERSION), id(0) { } RecentRequestEntry() : nVersion(RecentRequestEntry::CURRENT_VERSION), id(0) { }
static const int CURRENT_VERSION=1; static const int CURRENT_VERSION = 1;
int nVersion; int nVersion;
int64_t id; int64_t id;
QDateTime date; QDateTime date;
@ -46,7 +46,7 @@ class RecentRequestEntryLessThan
public: public:
RecentRequestEntryLessThan(int nColumn, Qt::SortOrder fOrder): RecentRequestEntryLessThan(int nColumn, Qt::SortOrder fOrder):
column(nColumn), order(fOrder) {} column(nColumn), order(fOrder) {}
bool operator()(RecentRequestEntry &left, RecentRequestEntry &right ) const; bool operator()(RecentRequestEntry &left, RecentRequestEntry &right) const;
private: private:
int column; int column;

View File

@ -5,8 +5,8 @@
#include "splashscreen.h" #include "splashscreen.h"
#include "clientversion.h" #include "clientversion.h"
#include "util.h"
#include "ui_interface.h" #include "ui_interface.h"
#include "util.h"
#include <QApplication> #include <QApplication>
#include <QPainter> #include <QPainter>

View File

@ -56,7 +56,7 @@ public:
// Empty if no authentication or invalid signature/cert/etc. // Empty if no authentication or invalid signature/cert/etc.
QString authenticatedMerchant; QString authenticatedMerchant;
static const int CURRENT_VERSION=1; static const int CURRENT_VERSION = 1;
int nVersion; int nVersion;
IMPLEMENT_SERIALIZE IMPLEMENT_SERIALIZE