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
|
||||
|
||||
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;
|
||||
|
Reference in New Issue
Block a user