Trivial whitespace fix cause by by editor settings

This commit is contained in:
Adam Potolsky 2015-06-04 14:06:17 -07:00
parent 78f8fb45ba
commit 88e5c6197d
2 changed files with 8 additions and 10 deletions

View File

@ -34,22 +34,20 @@ void FileSysClient::queryPluginList()
QStringList nameFilter(extension); QStringList nameFilter(extension);
QString installDir(m_CoreInterface.getInstalledDir() QString installDir(m_CoreInterface.getInstalledDir()
.append(QDir::separator()) .append(QDir::separator())
.append(Plugin::getOsSpecificInstallerLocation())); .append(Plugin::getOsSpecificInstallerLocation()));
QString searchDirectory(installDir); QString searchDirectory(installDir);
QDir directory(searchDirectory); QDir directory(searchDirectory);
m_PluginList = directory.entryList(nameFilter); m_PluginList = directory.entryList(nameFilter);
isDone(true); isDone(true);
} }
catch (std::exception& e) catch (std::exception& e)
{ {
isDone(true); isDone(true);
emit error(tr("An error occurred while trying to load the " emit error(tr( "An error occurred while trying to load the "
"plugin list. Please contact the help desk, and " "plugin list. Please contact the help desk, and "
"provide the following details.\n\n%1").arg(e.what())); "provide the following details.\n\n%1").arg(e.what()));
} }
emit queryPluginDone(); emit queryPluginDone();
return; return;

View File

@ -30,11 +30,11 @@ class SslCertificate;
class PluginWizardPage : public QWizardPage, public Ui::PluginWizardPage { class PluginWizardPage : public QWizardPage, public Ui::PluginWizardPage {
Q_OBJECT Q_OBJECT
public: public:
PluginWizardPage(AppConfig& appConfig, QWidget *parent = 0); PluginWizardPage(AppConfig& appConfig, QWidget *parent = 0);
~PluginWizardPage(); ~PluginWizardPage();
void setFinished(bool b) { m_Finished = b; } void setFinished(bool b) { m_Finished = b; }
void setEmail(QString e) { m_Email = e; } void setEmail(QString e) { m_Email = e; }
@ -44,7 +44,7 @@ public:
void initializePage(); void initializePage();
protected: protected:
void changeEvent(QEvent *e); void changeEvent(QEvent *e);
protected slots: protected slots:
void showError(QString error); void showError(QString error);