mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-16 01:54:52 -04:00
Fixed RetroShare links with " characters in the name.
Removed not used plugins from the .pro file. Removed some warnings from lupdate. Fixed german translation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5340e44981
commit
d5479940d1
12 changed files with 29 additions and 29 deletions
|
@ -727,7 +727,7 @@ TPiece TPiece::rotatedRight() const {
|
|||
return result;
|
||||
}
|
||||
|
||||
NextPieceLabel::NextPieceLabel( QWidget* parent /*= 0*/ ) : QLabel(parent)
|
||||
NextPieceLabel::NextPieceLabel( QWidget* parent /* = 0*/ ) : QLabel(parent)
|
||||
{
|
||||
QPalette p = palette();
|
||||
p.setColor(QPalette::Background, Qt::white);
|
||||
|
|
|
@ -696,7 +696,7 @@ void ForumsDialog::CalculateIconsAndFonts(QTreeWidgetItem *pItem, bool &bHasRead
|
|||
bHasUnreadChilddren = bHasUnreadChilddren || bMyUnreadChilddren || bUnread;
|
||||
}
|
||||
|
||||
void ForumsDialog::CalculateIconsAndFonts(QTreeWidgetItem *pItem /*= NULL*/)
|
||||
void ForumsDialog::CalculateIconsAndFonts(QTreeWidgetItem *pItem /* = NULL*/)
|
||||
{
|
||||
bool bDummy1 = false;
|
||||
bool bDummy2 = false;
|
||||
|
|
|
@ -519,7 +519,7 @@ QString RetroShareLink::title() const
|
|||
|
||||
static QString encodeItem(QString item)
|
||||
{
|
||||
return item.replace(" ", "%20").replace("&", "%26").replace("#", "%23");
|
||||
return item.replace(" ", "%20").replace("&", "%26").replace("#", "%23").replace("\"", "%22");
|
||||
}
|
||||
|
||||
QString RetroShareLink::toString() const
|
||||
|
@ -727,7 +727,7 @@ static void processList(QStringList &list, const QString &textSingular, const QS
|
|||
result += "</p>";
|
||||
}
|
||||
|
||||
/*static*/ int RetroShareLink::process(QList<RetroShareLink> &linksIn, uint flag /*= RSLINK_PROCESS_NOTIFY_ALL*/)
|
||||
/*static*/ int RetroShareLink::process(QList<RetroShareLink> &linksIn, uint flag /* = RSLINK_PROCESS_NOTIFY_ALL*/)
|
||||
{
|
||||
QList<RetroShareLink>::iterator linkIt;
|
||||
|
||||
|
@ -1200,7 +1200,7 @@ static void processList(QStringList &list, const QString &textSingular, const QS
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*static*/ int RetroShareLink::process(QStringList &urls, RetroShareLink::enumType type /*= RetroShareLink::TYPE_UNKNOWN*/, uint flag /*= RSLINK_PROCESS_NOTIFY_ALL*/)
|
||||
/*static*/ int RetroShareLink::process(QStringList &urls, RetroShareLink::enumType type /* = RetroShareLink::TYPE_UNKNOWN*/, uint flag /* = RSLINK_PROCESS_NOTIFY_ALL*/)
|
||||
{
|
||||
QList<RetroShareLink> links;
|
||||
|
||||
|
@ -1310,7 +1310,7 @@ QString RSLinkClipboard::toHtmlFull()
|
|||
return res ;
|
||||
}
|
||||
|
||||
bool RSLinkClipboard::empty(RetroShareLink::enumType type /*= RetroShareLink::TYPE_UNKNOWN*/)
|
||||
bool RSLinkClipboard::empty(RetroShareLink::enumType type /* = RetroShareLink::TYPE_UNKNOWN*/)
|
||||
{
|
||||
QList<RetroShareLink> links;
|
||||
parseClipboard(links);
|
||||
|
@ -1328,7 +1328,7 @@ bool RSLinkClipboard::empty(RetroShareLink::enumType type /*= RetroShareLink::TY
|
|||
return true;
|
||||
}
|
||||
|
||||
/*static*/ int RSLinkClipboard::process(RetroShareLink::enumType type /*= RetroShareLink::TYPE_UNKNOWN*/, uint flag /*= RSLINK_PROCESS_NOTIFY_ALL*/)
|
||||
/*static*/ int RSLinkClipboard::process(RetroShareLink::enumType type /* = RetroShareLink::TYPE_UNKNOWN*/, uint flag /* = RSLINK_PROCESS_NOTIFY_ALL*/)
|
||||
{
|
||||
QList<RetroShareLink> links;
|
||||
pasteLinks(links);
|
||||
|
|
|
@ -48,7 +48,7 @@ const QString PeerDefs::rsid(const RsPeerDetails &details)
|
|||
return rsid(details.name, details.id);
|
||||
}
|
||||
|
||||
const QString PeerDefs::rsidFromId(const std::string &id, QString *name /*= NULL*/)
|
||||
const QString PeerDefs::rsidFromId(const std::string &id, QString *name /* = NULL*/)
|
||||
{
|
||||
QString rsid;
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@ static void showErrorBox(const QString& filename, const QString& error)
|
|||
mb.exec();
|
||||
}
|
||||
|
||||
bool RsCollectionFile::load(const QString& filename, bool showError /*= true*/)
|
||||
bool RsCollectionFile::load(const QString& filename, bool showError /* = true*/)
|
||||
{
|
||||
QFile file(filename);
|
||||
|
||||
|
|
|
@ -763,7 +763,7 @@ static void calculateGroupsOfSslIds(std::list<RsGroupInfo> &existingGroupInfos,
|
|||
}
|
||||
}
|
||||
|
||||
MessageComposer *MessageComposer::newMsg(const std::string &msgId /*= ""*/)
|
||||
MessageComposer *MessageComposer::newMsg(const std::string &msgId /* = ""*/)
|
||||
{
|
||||
MessageComposer *msgComposer = new MessageComposer();
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <QColorDialog>
|
||||
|
||||
/** Default constructor */
|
||||
NewTag::NewTag(MsgTagType &Tags, uint32_t nId /*= 0*/, QWidget *parent, Qt::WFlags flags)
|
||||
NewTag::NewTag(MsgTagType &Tags, uint32_t nId /* = 0*/, QWidget *parent, Qt::WFlags flags)
|
||||
: QDialog(parent, flags), m_Tags(Tags)
|
||||
{
|
||||
/* Invoke Qt Designer generated QObject setup routine */
|
||||
|
|
|
@ -64,7 +64,7 @@ RSettingsWin::~RSettingsWin()
|
|||
_instance = NULL;
|
||||
}
|
||||
|
||||
/*static*/ void RSettingsWin::showYourself(QWidget *parent, PageType page /*= LastPage*/)
|
||||
/*static*/ void RSettingsWin::showYourself(QWidget *parent, PageType page /* = LastPage*/)
|
||||
{
|
||||
if(_instance == NULL) {
|
||||
_instance = new RSettingsWin(parent);
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
|
||||
#include "gui/profile/ProfileEdit.h"
|
||||
#include "ProfileEdit.h"
|
||||
|
||||
#include <retroshare/rspeers.h>
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
|
||||
#include "gui/profile/ProfileView.h"
|
||||
#include "gui/profile/ProfileEdit.h"
|
||||
#include "ProfileView.h"
|
||||
#include "ProfileEdit.h"
|
||||
#include "gui/common/AvatarDefs.h"
|
||||
|
||||
#include <retroshare/rspeers.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue