Refactoring...
This commit is contained in:
parent
c8cca27ba2
commit
7b0cf2dc4c
@ -122,6 +122,8 @@ void FeedMessageViewer::updateAllFeeds() {
|
||||
|
||||
void FeedMessageViewer::updateCountsOfMessages(int unread_messages,
|
||||
int total_messages) {
|
||||
Q_UNUSED(total_messages)
|
||||
|
||||
// TODO: Optimize the call isSystemTrayActivated()
|
||||
// because it opens settings (use member variable)?.
|
||||
if (SystemTrayIcon::isSystemTrayActivated()) {
|
||||
|
@ -85,7 +85,7 @@ class FeedsView : public QTreeView {
|
||||
// Sets up appearance of this widget.
|
||||
void setupAppearance();
|
||||
|
||||
// Make feeds loadable.
|
||||
// Handle selections.
|
||||
void selectionChanged(const QItemSelection &selected,
|
||||
const QItemSelection &deselected);
|
||||
|
||||
|
@ -23,7 +23,8 @@
|
||||
|
||||
FormMain *FormMain::s_instance;
|
||||
|
||||
FormMain::FormMain(QWidget *parent) : QMainWindow(parent), m_ui(new Ui::FormMain) {
|
||||
FormMain::FormMain(QWidget *parent)
|
||||
: QMainWindow(parent), m_ui(new Ui::FormMain) {
|
||||
m_ui->setupUi(this);
|
||||
|
||||
// Initialize singleton.
|
||||
|
Loading…
x
Reference in New Issue
Block a user