diff options
author | Robert Loehning <robert.loehning@qt.io> | 2018-01-02 17:13:57 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2018-01-03 10:26:24 +0000 |
commit | e07bf2f68228ab75f36e79dc6d9d0e62d9e6def5 (patch) | |
tree | c5585527aa0e80be518b8b5e01fc4022dac15866 /src/app | |
parent | dbfbe1d65d9cfaecc56c70a4027c5a6d78a01ce2 (diff) | |
download | qt-creator-e07bf2f68228ab75f36e79dc6d9d0e62d9e6def5.tar.gz |
Make missing uses of IDE name configurable
Change-Id: Ie89293b80adfacea19bcb949e4524f16fbb223f9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/main.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index 3f99950054..90eae94f2b 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -157,10 +157,12 @@ static inline QString msgCoreLoadFailure(const QString &why) static inline int askMsgSendFailed() { return QMessageBox::question(0, QApplication::translate("Application","Could not send message"), - QCoreApplication::translate("Application", "Unable to send command line arguments to the already running instance. " - "It appears to be not responding. Do you want to start a new instance of Creator?"), - QMessageBox::Yes | QMessageBox::No | QMessageBox::Retry, - QMessageBox::Retry); + QCoreApplication::translate("Application", "Unable to send command line arguments " + "to the already running instance. It appears to be not " + "responding. Do you want to start a new instance of " + "%1?").arg(Core::Constants::IDE_DISPLAY_NAME), + QMessageBox::Yes | QMessageBox::No | QMessageBox::Retry, + QMessageBox::Retry); } static void setHighDpiEnvironmentVariable() |