Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KAlarm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
KAlarm
Commits
3ed8cf42
Commit
3ed8cf42
authored
May 04, 2014
by
David Jarvie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 334334: Fix no Defer button in alarm windows restored after crash
parent
c8e4293b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
4 deletions
+27
-4
Changelog
Changelog
+5
-2
kalarm.h
kalarm.h
+1
-1
kalarmapp.cpp
kalarmapp.cpp
+20
-1
kalarmapp.h
kalarmapp.h
+1
-0
No files found.
Changelog
View file @
3ed8cf42
KAlarm Change Log
=== Version 2.10.8 --- 18 April 2014 ===
=== Version 2.10.9 --- 4 May 2014 ===
- [Akonadi] Fix no Defer button in alarm windows restored after crash [KDE Bug 334334]
=== Version 2.10.8 (KDE 4.12.5) --- 18 April 2014 ===
- [Akonadi] Fix wrong startup message about no writable active alarm calendar.
- [Akonadi] Fix setting Akonadi resource read-only making it unusable (requires kdepim-runtime 4.12.5) [KDE Bug 332889]
=== Version 2.10.7 (KDE 4.12.4) --- 21 March 2014 ===
=== Version 2.10.7 (KDE 4.12.4
, 4.13.0
) --- 21 March 2014 ===
- [Akonadi] Fix deletion of alarm copies from KOrganiser not working.
- Fix crash after session restoration has nothing to restore [KDE Bug 331719]
- Prevent data in birthday import dialogue being editable.
...
...
kalarm.h
View file @
3ed8cf42
...
...
@@ -28,7 +28,7 @@
#else
#define VERSION_SUFFIX "-res"
#endif
#define KALARM_VERSION "2.10.
8
" VERSION_SUFFIX
#define KALARM_VERSION "2.10.
9
" VERSION_SUFFIX
#define KALARM_NAME "KAlarm"
#define KALARM_DBUS_SERVICE "org.kde.kalarm" // D-Bus service name of KAlarm application
...
...
kalarmapp.cpp
View file @
3ed8cf42
...
...
@@ -112,6 +112,7 @@ QString KAlarmApp::mFatalMessage;
KAlarmApp
::
KAlarmApp
()
:
KUniqueApplication
(),
mInitialised
(
false
),
mRedisplayAlarms
(
false
),
mQuitting
(
false
),
mReadOnly
(
false
),
mLoginAlarmsDone
(
false
),
...
...
@@ -574,7 +575,19 @@ int KAlarmApp::newInstance()
* to happen under the Xfce desktop.)
*/
if
(
AlarmCalendar
::
resources
())
{
#ifdef USE_AKONADI
if
(
AkonadiModel
::
instance
()
->
isCollectionTreeFetched
())
{
mRedisplayAlarms
=
false
;
MessageWin
::
redisplayAlarms
();
}
else
mRedisplayAlarms
=
true
;
#else
MessageWin
::
redisplayAlarms
();
#endif
}
}
--
mActiveCount
;
...
...
@@ -1151,7 +1164,13 @@ kDebug();
if
(
mReadOnly
)
return
;
// don't need write access to calendars
#ifdef USE_AKONADI
if
(
!
AkonadiModel
::
instance
()
->
isCollectionTreeFetched
()
bool
treeFetched
=
AkonadiModel
::
instance
()
->
isCollectionTreeFetched
();
if
(
treeFetched
&&
mRedisplayAlarms
)
{
mRedisplayAlarms
=
false
;
MessageWin
::
redisplayAlarms
();
}
if
(
!
treeFetched
||
!
AkonadiModel
::
instance
()
->
isMigrationCompleted
())
return
;
#endif
...
...
kalarmapp.h
View file @
3ed8cf42
...
...
@@ -232,6 +232,7 @@ class KAlarmApp : public KUniqueApplication
static
int
mFatalError
;
// a fatal error has occurred - just wait to exit
static
QString
mFatalMessage
;
// fatal error message to output
bool
mInitialised
;
// initialisation complete: ready to process execution queue
bool
mRedisplayAlarms
;
// need to redisplay alarms when collection tree fetched
bool
mQuitting
;
// a forced quit is in progress
bool
mReadOnly
;
// only read-only access to calendars is needed
bool
mLoginAlarmsDone
;
// alarms repeated at login have been processed
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment