mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
Small Tweaks.
* Removed services toolbar - until it is needed. * Removed background on MessengerWindow - it breaks on linux. * fixed Messages Html problem. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@518 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4e03fa5d06
commit
98eabbabe0
3 changed files with 20 additions and 17 deletions
|
@ -115,6 +115,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
_bandwidthGraph = new BandwidthGraph();
|
||||
messengerWindow = new MessengerWindow();
|
||||
messengerWindow->hide();
|
||||
//messengerWindow->show();
|
||||
applicationWindow = new ApplicationWindow();
|
||||
applicationWindow->hide();
|
||||
|
||||
|
@ -196,6 +197,8 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
ui.toolBar->addSeparator();
|
||||
connect(grp, SIGNAL(triggered(QAction *)), ui.stackPages, SLOT(showPage(QAction *)));
|
||||
|
||||
/* Select the first action */
|
||||
grp->actions()[0]->setChecked(true);
|
||||
|
||||
// Allow to play files from SharedFilesDialog.
|
||||
connect(sharedfilesDialog, SIGNAL(playFiles( QStringList )), this, SLOT(playFiles( QStringList )));
|
||||
|
@ -211,16 +214,13 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
toolAct->setText("Service");
|
||||
toolAct->setShortcut(tr("Ctrl+T"));
|
||||
toolAct->setIcon(QIcon(":/images/blockdevice2.png"));
|
||||
ui.toolBar->addAction(toolAct);
|
||||
//ui.toolBar->addAction(toolAct);
|
||||
|
||||
|
||||
/* Select the first action */
|
||||
grp->actions()[0]->setChecked(true);
|
||||
/* Select the first action */
|
||||
/* Create the Service pages and actions */
|
||||
QActionGroup *servicegrp = new QActionGroup(this);
|
||||
|
||||
|
||||
#if 0
|
||||
LinksDialog *linksDialog = NULL;
|
||||
ui.stackPages->add(linksDialog = new LinksDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_LINKS), tr("Links Cloud"), servicegrp));
|
||||
|
@ -237,6 +237,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
ui.stackPages->add(photoDialog = new PhotoDialog(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_PHOTO), tr("Photo View"), servicegrp));
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/* Create the toolbarservice */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue