forked from qt-creator/qt-creator
Fixes: cpaster plugin options
RevBy: andre Details: - the settings have not been taken into respect so far.
This commit is contained in:
@@ -185,7 +185,9 @@ void CodepasterPlugin::post()
|
|||||||
|
|
||||||
// Submit to codepaster
|
// 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
|
// Copied from cpaster. Otherwise lineendings will screw up
|
||||||
if (!data.contains("\r\n")) {
|
if (!data.contains("\r\n")) {
|
||||||
|
@@ -65,8 +65,8 @@ public:
|
|||||||
QString username() const;
|
QString username() const;
|
||||||
QUrl serverUrl() const;
|
QUrl serverUrl() const;
|
||||||
|
|
||||||
bool copyToClipBoard() const;
|
inline bool copyToClipBoard() const { return m_copy; }
|
||||||
bool displayOutput() const;
|
inline bool displayOutput() const { return m_output; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui_SettingsPage m_ui;
|
Ui_SettingsPage m_ui;
|
||||||
|
Reference in New Issue
Block a user