[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ring-kde] src/desktopview: Do not show the call indicator for dialing calls
From: Emmanuel Lepage Vallee <null () kde ! org>
Date: 2018-01-01 4:30:11
Message-ID: E1eVrjn-000792-FH () code ! kde ! org
[Download RAW message or body]
Git commit a002260ee912b68dde01891e2dff28b38b5c9bbb by Emmanuel Lepage Vallee.
Committed on 01/01/2018 at 11:30.
Pushed by lepagevalleeemmanuel into branch 'master'.
Do not show the call indicator for dialing calls
M +2 -1 src/desktopview/dockmodel.cpp
https://commits.kde.org/ring-kde/a002260ee912b68dde01891e2dff28b38b5c9bbb
diff --git a/src/desktopview/dockmodel.cpp b/src/desktopview/dockmodel.cpp
index 1777b477..0ed002e7 100644
--- a/src/desktopview/dockmodel.cpp
+++ b/src/desktopview/dockmodel.cpp
@@ -82,7 +82,8 @@ QVariant DockModel::data( const QModelIndex& index, int role) const
return QVariant::fromValue(a);
case Roles::ActiveCount:
if (a == ActionCollection::instance()->showDialDockAction())
- return CallModel::instance().size();
+ return CallModel::instance().size()
+ - (CallModel::instance().hasDialingCall() ? 1 : 0);
return 0;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic