Commit 9b356e2c authored by Christian Stenger's avatar Christian Stenger Committed by Tobias Hunger
Browse files

ProjectExplorer: Fix build for Mac (Xcode < 5.1)



Change-Id: I1ea1edbb0a5e15888cabadddbbb460d7c6f0b09b
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 6aeb2fab
......@@ -68,14 +68,14 @@ public:
bool addVersionUpgrader(Internal::VersionUpgrader *upgrader); // takes ownership of upgrader
enum ProceedInfo { Continue, DiscardAndContinue };
typedef QHash<QMessageBox::StandardButton, ProceedInfo> ButtonMap;
class IssueInfo {
public:
IssueInfo() : defaultButton(QMessageBox::NoButton), escapeButton(QMessageBox::NoButton) { }
IssueInfo(const QString &t, const QString &m,
QMessageBox::StandardButton d = QMessageBox::NoButton,
QMessageBox::StandardButton e = QMessageBox::NoButton,
const QHash<QMessageBox::StandardButton, ProceedInfo> &b
= QHash<QMessageBox::StandardButton, ProceedInfo>()) :
const ButtonMap &b = ButtonMap()) :
title(t), message(m), defaultButton(d), escapeButton(e), buttons(b)
{ }
IssueInfo(const IssueInfo &other) :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment