Changeset View
Changeset View
Standalone View
Standalone View
plugins/git/gitplugin.cpp
Show First 20 Lines • Show All 1485 Lines • ▼ Show 20 Line(s) | 1476 | { | |||
---|---|---|---|---|---|
1486 | QString mergeMsg = QString::fromLocal8Bit(mergeMsgFile.read(maxMergeMsgFileSize)); | 1486 | QString mergeMsg = QString::fromLocal8Bit(mergeMsgFile.read(maxMergeMsgFileSize)); | ||
1487 | editor->setPlainText(mergeMsg); | 1487 | editor->setPlainText(mergeMsg); | ||
1488 | } | 1488 | } | ||
1489 | 1489 | | |||
1490 | class GitVcsLocationWidget : public KDevelop::StandardVcsLocationWidget | 1490 | class GitVcsLocationWidget : public KDevelop::StandardVcsLocationWidget | ||
1491 | { | 1491 | { | ||
1492 | Q_OBJECT | 1492 | Q_OBJECT | ||
1493 | public: | 1493 | public: | ||
1494 | explicit GitVcsLocationWidget(QWidget* parent = nullptr, Qt::WindowFlags f = nullptr) | 1494 | explicit GitVcsLocationWidget(QWidget* parent = nullptr) | ||
1495 | : StandardVcsLocationWidget(parent, f) {} | 1495 | : StandardVcsLocationWidget(parent) | ||
1496 | {} | ||||
1496 | 1497 | | |||
1497 | bool isCorrect() const override | 1498 | bool isCorrect() const override | ||
1498 | { | 1499 | { | ||
1499 | return !url().isEmpty(); | 1500 | return !url().isEmpty(); | ||
1500 | } | 1501 | } | ||
1501 | }; | 1502 | }; | ||
1502 | 1503 | | |||
1503 | KDevelop::VcsLocationWidget* GitPlugin::vcsLocation(QWidget* parent) const | 1504 | KDevelop::VcsLocationWidget* GitPlugin::vcsLocation(QWidget* parent) const | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |