forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user