mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -232,6 +232,10 @@ PopupChatDialog::PopupChatDialog(const std::string &id, const QString &name, QWi
|
||||
|
||||
// call once
|
||||
onPrivateChatChanged(NOTIFY_LIST_PRIVATE_OUTGOING_CHAT, NOTIFY_TYPE_ADD, true);
|
||||
|
||||
#ifdef RS_RELEASE_VERSION
|
||||
ui.attachPictureButton->setVisible(false);
|
||||
#endif
|
||||
}
|
||||
|
||||
/** Destructor. */
|
||||
|
@ -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…
Reference in New Issue
Block a user