mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 22:49:37 -05:00
disabled some of the gui elements - to match those in libretroshare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@800 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fce83cb232
commit
40b878697b
@ -27,6 +27,7 @@
|
||||
#include <QIcon>
|
||||
#include <QPixmap>
|
||||
|
||||
#include "ChannelFeed.h"
|
||||
#include "LinksDialog.h"
|
||||
#include "GamesDialog.h"
|
||||
#include "PhotoDialog.h"
|
||||
@ -99,6 +100,8 @@
|
||||
* #define RS_RELEASE_VERSION 1
|
||||
****/
|
||||
|
||||
#define RS_RELEASE_VERSION 1
|
||||
|
||||
|
||||
/** Constructor */
|
||||
MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
||||
@ -178,16 +181,23 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
||||
createPageAction(QIcon(IMAGE_MESSAGES), tr("Messages"), grp));
|
||||
|
||||
LinksDialog *linksDialog = NULL;
|
||||
ui.stackPages->add(linksDialog = new LinksDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_LINKS), tr("Links Cloud"), grp));
|
||||
|
||||
|
||||
#ifdef RS_RELEASE_VERSION
|
||||
channelsDialog = NULL;
|
||||
|
||||
ChannelFeed *channelFeed = NULL;
|
||||
ui.stackPages->add(channelFeed = new ChannelFeed(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_CHANNELS), tr("Channel Feed"), grp));
|
||||
|
||||
#else
|
||||
channelsDialog = NULL;
|
||||
// ui.stackPages->add(channelsDialog = new ChannelsDialog(ui.stackPages),
|
||||
// createPageAction(QIcon(IMAGE_CHANNELS), tr("Channels"), grp));
|
||||
ui.stackPages->add(linksDialog = new LinksDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_LINKS), tr("Links Cloud"), grp));
|
||||
|
||||
ui.stackPages->add(channelsDialog = new ChannelsDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_CHANNELS), tr("Channels"), grp));
|
||||
|
||||
#endif
|
||||
|
||||
//ui.stackPages->add(new HelpDialog(ui.stackPages),
|
||||
|
@ -69,6 +69,8 @@ void BlogMsgItem::updateItemStatic()
|
||||
int total = (int) (10.0 * (rand() / (RAND_MAX + 1.0)));
|
||||
int i;
|
||||
|
||||
total = 0;
|
||||
|
||||
for(i = 0; i < total; i++)
|
||||
{
|
||||
/* add file */
|
||||
|
Loading…
Reference in New Issue
Block a user