Applied clang formatting
Signed-off-by: Michael Tyson <michael@atastypixel.com>
This commit is contained in:
parent
5661444414
commit
ced2f9d1a0
3 changed files with 4 additions and 3 deletions
|
@ -276,7 +276,8 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
// error if --launch is missing with --server or --profile
|
// error if --launch is missing with --server or --profile
|
||||||
if ((!m_serverToJoin.isEmpty() || !m_worldToJoin.isEmpty() || !m_profileToUse.isEmpty() || m_offline) && m_instanceIdToLaunch.isEmpty()) {
|
if ((!m_serverToJoin.isEmpty() || !m_worldToJoin.isEmpty() || !m_profileToUse.isEmpty() || m_offline) &&
|
||||||
|
m_instanceIdToLaunch.isEmpty()) {
|
||||||
std::cerr << "--server, --profile and --offline can only be used in combination with --launch!" << std::endl;
|
std::cerr << "--server, --profile and --offline can only be used in combination with --launch!" << std::endl;
|
||||||
m_status = Application::Failed;
|
m_status = Application::Failed;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue