forked from blue/squawk
First tray attempt, seems to be working
This commit is contained in:
parent
7192286aeb
commit
7e9eed2075
13 changed files with 201 additions and 7 deletions
|
@ -56,7 +56,7 @@ Squawk::Squawk(Models::Roster& p_rosterModel, QWidget *parent) :
|
|||
connect(m_ui->actionPreferences, &QAction::triggered, this, &Squawk::onPreferences);
|
||||
connect(m_ui->actionAddContact, &QAction::triggered, this, &Squawk::onNewContact);
|
||||
connect(m_ui->actionAddConference, &QAction::triggered, this, &Squawk::onNewConference);
|
||||
connect(m_ui->actionQuit, &QAction::triggered, this, &Squawk::close);
|
||||
connect(m_ui->actionQuit, &QAction::triggered, this, &Squawk::quit);
|
||||
connect(m_ui->comboBox, qOverload<int>(&QComboBox::activated), this, &Squawk::onComboboxActivated);
|
||||
//connect(m_ui->roster, &QTreeView::doubleClicked, this, &Squawk::onRosterItemDoubleClicked);
|
||||
connect(m_ui->roster, &QTreeView::customContextMenuRequested, this, &Squawk::onRosterContextMenu);
|
||||
|
@ -122,6 +122,7 @@ void Squawk::onPreferences()
|
|||
preferences->setAttribute(Qt::WA_DeleteOnClose);
|
||||
connect(preferences, &Settings::destroyed, this, &Squawk::onPreferencesClosed);
|
||||
connect(preferences, &Settings::changeDownloadsPath, this, &Squawk::changeDownloadsPath);
|
||||
connect(preferences, &Settings::changeTray, this, &Squawk::changeTray);
|
||||
|
||||
preferences->show();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue