From 88e5c6197d8679d190ccf29160527fad96c6c870 Mon Sep 17 00:00:00 2001 From: Adam Potolsky Date: Thu, 4 Jun 2015 14:06:17 -0700 Subject: [PATCH] Trivial whitespace fix cause by by editor settings --- src/gui/src/FileSysClient.cpp | 12 +++++------- src/gui/src/PluginWizardPage.h | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/gui/src/FileSysClient.cpp b/src/gui/src/FileSysClient.cpp index 439602cb..61f09c57 100644 --- a/src/gui/src/FileSysClient.cpp +++ b/src/gui/src/FileSysClient.cpp @@ -34,22 +34,20 @@ void FileSysClient::queryPluginList() QStringList nameFilter(extension); QString installDir(m_CoreInterface.getInstalledDir() - .append(QDir::separator()) - .append(Plugin::getOsSpecificInstallerLocation())); + .append(QDir::separator()) + .append(Plugin::getOsSpecificInstallerLocation())); QString searchDirectory(installDir); - QDir directory(searchDirectory); - m_PluginList = directory.entryList(nameFilter); isDone(true); } catch (std::exception& e) { isDone(true); - emit error(tr("An error occurred while trying to load the " - "plugin list. Please contact the help desk, and " - "provide the following details.\n\n%1").arg(e.what())); + emit error(tr( "An error occurred while trying to load the " + "plugin list. Please contact the help desk, and " + "provide the following details.\n\n%1").arg(e.what())); } emit queryPluginDone(); return; diff --git a/src/gui/src/PluginWizardPage.h b/src/gui/src/PluginWizardPage.h index 65c7ea18..dbd834b7 100644 --- a/src/gui/src/PluginWizardPage.h +++ b/src/gui/src/PluginWizardPage.h @@ -30,11 +30,11 @@ class SslCertificate; class PluginWizardPage : public QWizardPage, public Ui::PluginWizardPage { - Q_OBJECT + Q_OBJECT public: PluginWizardPage(AppConfig& appConfig, QWidget *parent = 0); - ~PluginWizardPage(); + ~PluginWizardPage(); void setFinished(bool b) { m_Finished = b; } void setEmail(QString e) { m_Email = e; } @@ -44,7 +44,7 @@ public: void initializePage(); protected: - void changeEvent(QEvent *e); + void changeEvent(QEvent *e); protected slots: void showError(QString error);