mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-19 21:04:32 -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 <QIcon>
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
|
|
||||||
|
#include "ChannelFeed.h"
|
||||||
#include "LinksDialog.h"
|
#include "LinksDialog.h"
|
||||||
#include "GamesDialog.h"
|
#include "GamesDialog.h"
|
||||||
#include "PhotoDialog.h"
|
#include "PhotoDialog.h"
|
||||||
@ -99,6 +100,8 @@
|
|||||||
* #define RS_RELEASE_VERSION 1
|
* #define RS_RELEASE_VERSION 1
|
||||||
****/
|
****/
|
||||||
|
|
||||||
|
#define RS_RELEASE_VERSION 1
|
||||||
|
|
||||||
|
|
||||||
/** Constructor */
|
/** Constructor */
|
||||||
MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
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));
|
createPageAction(QIcon(IMAGE_MESSAGES), tr("Messages"), grp));
|
||||||
|
|
||||||
LinksDialog *linksDialog = NULL;
|
LinksDialog *linksDialog = NULL;
|
||||||
ui.stackPages->add(linksDialog = new LinksDialog(ui.stackPages),
|
|
||||||
createPageAction(QIcon(IMAGE_LINKS), tr("Links Cloud"), grp));
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef RS_RELEASE_VERSION
|
#ifdef RS_RELEASE_VERSION
|
||||||
channelsDialog = NULL;
|
channelsDialog = NULL;
|
||||||
|
|
||||||
|
ChannelFeed *channelFeed = NULL;
|
||||||
|
ui.stackPages->add(channelFeed = new ChannelFeed(ui.stackPages),
|
||||||
|
createPageAction(QIcon(IMAGE_CHANNELS), tr("Channel Feed"), grp));
|
||||||
|
|
||||||
#else
|
#else
|
||||||
channelsDialog = NULL;
|
channelsDialog = NULL;
|
||||||
// ui.stackPages->add(channelsDialog = new ChannelsDialog(ui.stackPages),
|
ui.stackPages->add(linksDialog = new LinksDialog(ui.stackPages),
|
||||||
// createPageAction(QIcon(IMAGE_CHANNELS), tr("Channels"), grp));
|
createPageAction(QIcon(IMAGE_LINKS), tr("Links Cloud"), grp));
|
||||||
|
|
||||||
|
ui.stackPages->add(channelsDialog = new ChannelsDialog(ui.stackPages),
|
||||||
|
createPageAction(QIcon(IMAGE_CHANNELS), tr("Channels"), grp));
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//ui.stackPages->add(new HelpDialog(ui.stackPages),
|
//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 total = (int) (10.0 * (rand() / (RAND_MAX + 1.0)));
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
total = 0;
|
||||||
|
|
||||||
for(i = 0; i < total; i++)
|
for(i = 0; i < total; i++)
|
||||||
{
|
{
|
||||||
/* add file */
|
/* add file */
|
||||||
|
Loading…
Reference in New Issue
Block a user