use QPushButton for some dialogs fixes translation problems, QButtonBox default translations are only available for few languages.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2506 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-03-09 20:56:57 +00:00
parent 0ea171e237
commit d0a772f5d9
44 changed files with 1837 additions and 1443 deletions

View file

@ -49,8 +49,7 @@ ShareManager::ShareManager(QWidget *parent, Qt::WFlags flags)
connect(ui.addButton, SIGNAL(clicked( bool ) ), this , SLOT( addShareDirectory() ) );
connect(ui.removeButton, SIGNAL(clicked( bool ) ), this , SLOT( removeShareDirectory() ) );
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(ui.closeButton, SIGNAL(accepted()), this, SLOT(close()));
connect( ui.shareddirList, SIGNAL( customContextMenuRequested( QPoint ) ), this, SLOT( shareddirListCostumPopupMenu( QPoint ) ) );