mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -04:00
removed not needed old Preferences
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1876 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
34c4e500e4
commit
bbe773b91c
73 changed files with 257 additions and 10573 deletions
|
@ -22,14 +22,14 @@
|
|||
|
||||
#include "rshare.h"
|
||||
#include "SharedFilesDialog.h"
|
||||
#include "Preferences/AddFileAssotiationDialog.h"
|
||||
#include "settings/AddFileAssociationDialog.h"
|
||||
|
||||
#include "rsiface/rsiface.h"
|
||||
#include "rsiface/rspeers.h"
|
||||
#include "rsiface/rsfiles.h"
|
||||
#include "util/RsAction.h"
|
||||
#include "msgs/ChanMsgDialog.h"
|
||||
#include "Preferences/rsharesettings.h"
|
||||
#include "settings/rsharesettings.h"
|
||||
#include "AddLinksDialog.h"
|
||||
|
||||
#ifndef RETROSHARE_LINK_ANALYZER
|
||||
|
@ -662,7 +662,7 @@ SharedFilesDialog::fileAssotiationAction(const QString fileName)
|
|||
// QSettings::IniFormat);
|
||||
settings->beginGroup("FileAssotiations");
|
||||
|
||||
QString key = AddFileAssotiationDialog::cleanFileType(currentFile) ;
|
||||
QString key = AddFileAssociationDialog::cleanFileType(currentFile) ;
|
||||
if ( settings->contains(key) )
|
||||
{
|
||||
result = new QAction(QIcon(IMAGE_PLAY), tr( "Open File" ), this );
|
||||
|
@ -704,9 +704,9 @@ SharedFilesDialog::runCommandForFile()
|
|||
void
|
||||
SharedFilesDialog::tryToAddNewAssotiation()
|
||||
{
|
||||
AddFileAssotiationDialog afad(true, this);//'add file assotiations' dialog
|
||||
AddFileAssociationDialog afad(true, this);//'add file assotiations' dialog
|
||||
|
||||
afad.setFileType(AddFileAssotiationDialog::cleanFileType(currentFile));
|
||||
afad.setFileType(AddFileAssociationDialog::cleanFileType(currentFile));
|
||||
|
||||
int ti = afad.exec();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue