diff options
author | con <qtc-committer@nokia.com> | 2010-06-30 15:29:48 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-06-30 15:31:22 +0200 |
commit | 23ba1ea23ecbe0c4bc7cfb2fa31623d67a7d8848 (patch) | |
tree | be365c8507818428f5bdfdcd62a38d2c1b41dc60 /src/libs/utils/reloadpromptutils.h | |
parent | 6941781c0d2485e6281d93b601091565a7493365 (diff) |
Don't show the full file name in the reload prompt by default.
Because paths can get long, and text wrapping in QMessageBox will do the
wrong thing. Put the full file name into the details of the message box.
Task-number: QTCREATORBUG-1708
Diffstat (limited to 'src/libs/utils/reloadpromptutils.h')
-rw-r--r-- | src/libs/utils/reloadpromptutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/reloadpromptutils.h b/src/libs/utils/reloadpromptutils.h index 8f0d3ad258..5b379cb57f 100644 --- a/src/libs/utils/reloadpromptutils.h +++ b/src/libs/utils/reloadpromptutils.h @@ -42,7 +42,7 @@ namespace Utils { enum ReloadPromptAnswer { ReloadCurrent, ReloadAll, ReloadSkipCurrent, ReloadNone }; QTCREATOR_UTILS_EXPORT ReloadPromptAnswer reloadPrompt(const QString &fileName, bool modified, QWidget *parent); -QTCREATOR_UTILS_EXPORT ReloadPromptAnswer reloadPrompt(const QString &title, const QString &prompt, QWidget *parent); +QTCREATOR_UTILS_EXPORT ReloadPromptAnswer reloadPrompt(const QString &title, const QString &prompt, const QString &details, QWidget *parent); enum FileDeletedPromptAnswer { FileDeletedClose, FileDeletedSaveAs, FileDeletedSave }; |