diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2011-04-15 12:27:45 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-04-15 12:36:16 +0200 |
commit | 067002835c32c970f2d9dce8eeddb9b15fb67cde (patch) | |
tree | 9686d8a1f5503b84b6e3b2a13fea18400d7e275b /src/plugins/tasklist | |
parent | 8e92316a9abd439828ac056e610fa74dcf2a6638 (diff) | |
download | qt-creator-067002835c32c970f2d9dce8eeddb9b15fb67cde.tar.gz |
TaskList: Clean up reopen behavior
Thanks to Ossi for pointing out the errors in my way.
Diffstat (limited to 'src/plugins/tasklist')
-rw-r--r-- | src/plugins/tasklist/taskfile.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/tasklist/taskfile.cpp b/src/plugins/tasklist/taskfile.cpp index 4e82fb4d75..0664201ba9 100644 --- a/src/plugins/tasklist/taskfile.cpp +++ b/src/plugins/tasklist/taskfile.cpp @@ -92,9 +92,8 @@ bool TaskFile::isSaveAsAllowed() const Core::IFile::ReloadBehavior TaskFile::reloadBehavior(ChangeTrigger state, ChangeType type) const { Q_UNUSED(state); - if (type != TypePermissions) - return BehaviorSilent; - return BehaviorAsk; + Q_UNUSED(type); + return BehaviorSilent; } void TaskFile::reload(ReloadFlag flag, ChangeType type) |