summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-23 00:19:35 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-23 00:19:35 +0300
commitc6e1068e0e1cb8ff5d5982ccd1683b1900dd7114 (patch)
treeb819b0664f4e95004237d00a4ea3a16e0a4677d6 /include
parent143ed5176a891916b088b3c768b3dd3883629812 (diff)
Lint
Diffstat (limited to 'include')
-rw-r--r--include/RoomSettings.h5
-rw-r--r--include/ui/LoadingIndicator.h22
2 files changed, 6 insertions, 21 deletions
diff --git a/include/RoomSettings.h b/include/RoomSettings.h
index d9ecff99..d67e406a 100644
--- a/include/RoomSettings.h
+++ b/include/RoomSettings.h
@@ -35,10 +35,7 @@ public:
settings.setValue(path_, isNotificationsEnabled_);
};
- bool isNotificationsEnabled()
- {
- return isNotificationsEnabled_;
- };
+ bool isNotificationsEnabled() { return isNotificationsEnabled_; };
void toggleNotifications()
{
diff --git a/include/ui/LoadingIndicator.h b/include/ui/LoadingIndicator.h
index 2641955a..75920dd8 100644
--- a/include/ui/LoadingIndicator.h
+++ b/include/ui/LoadingIndicator.h
@@ -19,23 +19,11 @@ public:
void start();
void stop();
- QColor color()
- {
- return color_;
- }
- void setColor(QColor color)
- {
- color_ = color;
- }
-
- int interval()
- {
- return interval_;
- }
- void setInterval(int interval)
- {
- interval_ = interval;
- }
+ QColor color() { return color_; }
+ void setColor(QColor color) { color_ = color; }
+
+ int interval() { return interval_; }
+ void setInterval(int interval) { interval_ = interval; }
private slots:
void onTimeout();