Skip to content
Snippets Groups Projects
Commit ae7864f9 authored by lowinu's avatar lowinu
Browse files

Fixes: cpaster plugin options

RevBy:    andre
Details:  - the settings have not been taken into respect so far.
parent 581dae10
No related merge requests found
......@@ -185,7 +185,9 @@ void CodepasterPlugin::post()
// Submit to codepaster
m_poster = new CustomPoster(serverUrl());
m_poster = new CustomPoster(serverUrl(),
m_settingsPage->copyToClipBoard(),
m_settingsPage->displayOutput());
// Copied from cpaster. Otherwise lineendings will screw up
if (!data.contains("\r\n")) {
......
......@@ -65,8 +65,8 @@ public:
QString username() const;
QUrl serverUrl() const;
bool copyToClipBoard() const;
bool displayOutput() const;
inline bool copyToClipBoard() const { return m_copy; }
inline bool displayOutput() const { return m_output; }
private:
Ui_SettingsPage m_ui;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment