summaryrefslogtreecommitdiff
path: root/src/plugins/tasklist/taskfile.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-04-15 12:27:45 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2011-04-15 12:36:16 +0200
commit067002835c32c970f2d9dce8eeddb9b15fb67cde (patch)
tree9686d8a1f5503b84b6e3b2a13fea18400d7e275b /src/plugins/tasklist/taskfile.cpp
parent8e92316a9abd439828ac056e610fa74dcf2a6638 (diff)
downloadqt-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/taskfile.cpp')
-rw-r--r--src/plugins/tasklist/taskfile.cpp5
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)