diff options
author | Lorenz Haas <lorenz.haas@histomatics.de> | 2017-03-23 19:51:51 +0100 |
---|---|---|
committer | Lorenz Haas <lorenz.haas@histomatics.de> | 2017-03-28 11:41:59 +0000 |
commit | 217df493467cdc4f1abe7777ca3815257484ac56 (patch) | |
tree | 78ac1f267d9d0bb85d22e1178cda525ad3a3712d | |
parent | 7b5db5db90decf6d1aaa911f3a195e0515a161df (diff) | |
download | qt-creator-217df493467cdc4f1abe7777ca3815257484ac56.tar.gz |
Beautifier: Remove code that has no effect
The file name will be overwritten by restore(), called from
UncrustifyOptionsPage::widget(), right after the initialization.
Change-Id: Ieed634f351a7b3e79ed9327878534e69a8de7e95
Reviewed-by: Laurent Montel <laurent.montel@kdab.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r-- | src/plugins/beautifier/uncrustify/uncrustifyoptionspage.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/beautifier/uncrustify/uncrustifyoptionspage.cpp b/src/plugins/beautifier/uncrustify/uncrustifyoptionspage.cpp index 96f040c990..9fdfaa7a1e 100644 --- a/src/plugins/beautifier/uncrustify/uncrustifyoptionspage.cpp +++ b/src/plugins/beautifier/uncrustify/uncrustifyoptionspage.cpp @@ -52,7 +52,6 @@ UncrustifyOptionsPageWidget::UncrustifyOptionsPageWidget(UncrustifySettings *set "HOME", QDir::toNativeSeparators(QDir::home().absolutePath()))); ui->uncrusifyFilePath->setExpectedKind(Utils::PathChooser::File); ui->uncrusifyFilePath->setPromptDialogFilter(tr("Uncrustify file (*.cfg)")); - ui->uncrusifyFilePath->setFileName(Utils::FileName::fromString(QDir::toNativeSeparators(QDir::home().absoluteFilePath("uncrustify.cfg")))); ui->command->setExpectedKind(Utils::PathChooser::ExistingCommand); ui->command->setPromptDialogTitle(BeautifierPlugin::msgCommandPromptDialogTitle( |