mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Code maintenance for Qt 5:
- Added new options to retroshare-gui.pro for Qt 5 - Added new file QtVersion.h with macros to compile with Qt 4 and Qt 5 - QHeaderView::setResizeMode -> QHeaderView::setSectionResizeMode - QHeaderView::setMovable -> QHeaderView::setSectionsMovable git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
230caadb89
commit
6dbcc3e99b
18 changed files with 139 additions and 74 deletions
|
@ -33,7 +33,7 @@
|
|||
#include <retroshare/rspeers.h>
|
||||
#include <retroshare/rstypes.h>
|
||||
#include "settings/rsharesettings.h"
|
||||
|
||||
#include "util/QtVersion.h"
|
||||
|
||||
QuickStartWizard::QuickStartWizard(QWidget *parent) :
|
||||
QDialog(parent)
|
||||
|
@ -59,8 +59,8 @@ QuickStartWizard::QuickStartWizard(QWidget *parent) :
|
|||
// bool b = rsPeers->getAllowTunnelConnection() ;
|
||||
// ui.checkBoxTunnelConnection->setChecked(b) ;
|
||||
|
||||
ui.shareddirList->horizontalHeader()->setResizeMode( 0,QHeaderView::Stretch);
|
||||
ui.shareddirList->horizontalHeader()->setResizeMode( 2,QHeaderView::Interactive);
|
||||
QHeaderView_setSectionResizeMode(ui.shareddirList->horizontalHeader(), 0, QHeaderView::Stretch);
|
||||
QHeaderView_setSectionResizeMode(ui.shareddirList->horizontalHeader(), 2, QHeaderView::Interactive);
|
||||
|
||||
ui.shareddirList->horizontalHeader()->resizeSection( 0, 360 );
|
||||
ui.shareddirList->horizontalHeader()->setStretchLastSection(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue