Corrected typo, Replaced Ok Button by anabled Apply button in settings, suppressed double click action for download in Shared File lists

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2913 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-05-16 09:33:35 +00:00
parent 37a2bfb8de
commit cb64fb12cf
4 changed files with 4 additions and 20 deletions

View File

@ -92,7 +92,7 @@ SharedFilesDialog::SharedFilesDialog(QWidget *parent)
connect( ui.remoteDirTreeView, SIGNAL( customContextMenuRequested( QPoint ) ), this, SLOT( shareddirtreeviewCostumPopupMenu( QPoint ) ) );
connect( ui.remoteDirTreeView, SIGNAL( doubleClicked(const QModelIndex&)), this, SLOT( downloadRemoteSelected()));
// connect( ui.remoteDirTreeView, SIGNAL( doubleClicked(const QModelIndex&)), this, SLOT( downloadRemoteSelected()));
connect( ui.downloadButton, SIGNAL( clicked()), this, SLOT( downloadRemoteSelected()));
connect(ui.indicatorCBox, SIGNAL(currentIndexChanged(int)), this, SLOT(indicatorChanged(int)));

View File

@ -614,7 +614,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Automatically share incoming directory (Recommanded)</string>
<string>Automatically share incoming directory (Recommended)</string>
</property>
<property name="checked">
<bool>true</bool>

View File

@ -48,7 +48,7 @@ RSettingsWin::RSettingsWin(QWidget * parent, Qt::WFlags flags)
initStackedWidget();
connect(listWidget, SIGNAL(currentRowChanged(int)), this, SLOT(setNewPage(int)));
connect(okButton, SIGNAL(clicked( bool )), this, SLOT( saveChanges()) );
connect(applyButton, SIGNAL(clicked( bool )), this, SLOT( saveChanges()) );
}
RSettingsWin::~RSettingsWin()

View File

@ -247,9 +247,6 @@
</item>
<item>
<widget class="QPushButton" name="applyButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
@ -261,19 +258,6 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="okButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>22</height>
</size>
</property>
<property name="text">
<string>OK</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
@ -283,7 +267,7 @@
</resources>
<connections>
<connection>
<sender>okButton</sender>
<sender>applyButton</sender>
<signal>clicked()</signal>
<receiver>Settings</receiver>
<slot>accept()</slot>