Commit 8e2e4a26 authored by Harald Sitter's avatar Harald Sitter 🚔

port away from open/closeUrl compat

parent dac29a22
...@@ -174,9 +174,7 @@ Part::closeUrl() ...@@ -174,9 +174,7 @@ Part::closeUrl()
showSummary(); showSummary();
Q_ASSERT(false); // todo return true;
return false;
// return ReadOnlyPart::closeUrl();
} }
QString Part::prettyUrl() const { QString Part::prettyUrl() const {
...@@ -332,10 +330,6 @@ Part::showSummary() ...@@ -332,10 +330,6 @@ Part::showSummary()
else m_summary->show(); else m_summary->show();
} }
bool Filelight::Part::openFile() {
return false; //pure virtual in base class
}
} //namespace Filelight } //namespace Filelight
#include "part.moc" #include "part.moc"
...@@ -47,9 +47,7 @@ class Part : public KXmlGuiWindow ...@@ -47,9 +47,7 @@ class Part : public KXmlGuiWindow
public: public:
Part(); Part();
virtual bool openFile(); bool closeUrl();
virtual bool closeUrl();
QString prettyUrl() const; QString prettyUrl() const;
signals: signals:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment