mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 17:45:15 -04:00
Added the name and location to the title of the MainWindow.
Get the name and location for the window tile and tray tooltip only once at start. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4182 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
60138e0137
commit
06bc6029f2
2 changed files with 17 additions and 54 deletions
|
@ -205,27 +205,12 @@ private slots:
|
|||
void on_actionQuick_Start_Wizard_activated();
|
||||
|
||||
private:
|
||||
|
||||
/** Create the actions on the tray menu or menubar */
|
||||
void createActions();
|
||||
|
||||
void createTrayIcon();
|
||||
void createNotifyIcons();
|
||||
void updateTrayCombine();
|
||||
|
||||
static MainWindow *_instance;
|
||||
|
||||
/** Defines the actions for the tray menu */
|
||||
QAction* _settingsAct;
|
||||
QAction* _bandwidthAct;
|
||||
QAction* _messengerwindowAct;
|
||||
QAction* _messagesAct;
|
||||
QAction* _smplayerAct;
|
||||
QAction* _helpAct;
|
||||
#ifdef UNFINISHED
|
||||
QAction* _appAct;
|
||||
#endif
|
||||
|
||||
/** A BandwidthGraph object which handles monitoring RetroShare bandwidth usage */
|
||||
BandwidthGraph* _bandwidthGraph;
|
||||
|
||||
|
@ -236,6 +221,8 @@ private:
|
|||
|
||||
void loadStyleSheet(const QString &sheetName);
|
||||
|
||||
QString nameAndLocation;
|
||||
|
||||
QSystemTrayIcon *trayIcon;
|
||||
QSystemTrayIcon *trayIconCombined;
|
||||
QSystemTrayIcon *trayIconMessages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue