Enable dynamic icon

This commit is contained in:
Ximi1970
2020-06-01 21:16:44 +02:00
parent 14ab279a48
commit d798125b8e
2 changed files with 5 additions and 5 deletions

View File

@@ -83,9 +83,9 @@ SysTrayX::SysTrayX( QObject *parent ) : QObject( parent )
* Connect debug link signals
*/
connect( m_link, &SysTrayXLink::signalUnreadMail, m_debug, &DebugWidget::slotUnreadMail );
// connect( m_link, &SysTrayXLink::signalUnreadMail, this, &SysTrayX::slotUnreadMail );
// connect( m_win_ctrl, &WindowCtrl::signalShow, this, &SysTrayX::slotShow );
// connect( m_win_ctrl, &WindowCtrl::signalHide, this, &SysTrayX::slotHide );
connect( m_link, &SysTrayXLink::signalUnreadMail, this, &SysTrayX::slotUnreadMail );
connect( m_win_ctrl, &WindowCtrl::signalShow, this, &SysTrayX::slotShow );
connect( m_win_ctrl, &WindowCtrl::signalHide, this, &SysTrayX::slotHide );
connect( this, &SysTrayX::signalConsole, m_debug, &DebugWidget::slotConsole );
connect( m_preferences, &Preferences::signalConsole, m_debug, &DebugWidget::slotConsole );

View File

@@ -68,7 +68,7 @@ void WindowCtrl::slotWindowTest1()
// Do something.
// emit signalShow();
emit signalShow();
// emit signalConsole( QString( "Found Ppid: %1" ).arg( getPpid() ) );
// emit signalConsole( QString( "Found XID: %1" ).arg( getWinId() ) );
@@ -91,7 +91,7 @@ void WindowCtrl::slotWindowTest2()
// Do something.
// emit signalHide();
emit signalHide();
// hideWindow( getWinId(), true );