mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 09:43:24 +03:00
Trivial whitespace fix cause by by editor settings
This commit is contained in:
parent
78f8fb45ba
commit
88e5c6197d
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user