mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Disabled image support in MessageComposer and PopupChatDialog for the release version.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3807 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7f8f8c8f31
commit
2c9462e446
2 changed files with 11 additions and 0 deletions
|
@ -286,6 +286,11 @@ MessageComposer::MessageComposer(QWidget *parent, Qt::WFlags flags)
|
|||
|
||||
setAcceptDrops(true);
|
||||
|
||||
#ifdef RS_RELEASE_VERSION
|
||||
ui.imagebtn->setVisible(false);
|
||||
ui.imagebtn->setVisible(false);
|
||||
#endif
|
||||
|
||||
/* Hide platform specific features */
|
||||
#ifdef Q_WS_WIN
|
||||
|
||||
|
@ -1562,9 +1567,11 @@ void MessageComposer::setupInsertActions()
|
|||
|
||||
QAction *a;
|
||||
|
||||
#ifndef RS_RELEASE_VERSION
|
||||
a = new QAction(QIcon(""), tr("&Image"), this);
|
||||
connect(a, SIGNAL(triggered()), this, SLOT(addImage()));
|
||||
menu->addAction(a);
|
||||
#endif
|
||||
|
||||
a = new QAction(QIcon(""), tr("&Horizontal Line"), this);
|
||||
connect(a, SIGNAL(triggered()), this, SLOT(addPostSplitter()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue