Commit 051f4353 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues

parent 3576dbcc
......@@ -29,7 +29,7 @@ class KPartLoaderWindow : public KParts::MainWindow
{
Q_OBJECT
public:
KPartLoaderWindow(const QString& partLib);
explicit KPartLoaderWindow(const QString& partLib);
~KPartLoaderWindow() override;
private Q_SLOTS:
......
......@@ -116,8 +116,7 @@ void KUIViewer::fileOpen()
QFileDialog::getOpenFileUrl(this, QString(), QUrl(), i18n("*.ui *.UI|User Interface Files"));
if (!file_name.isEmpty()) {
// About this function, the style guide (
// http://developer.kde.org/documentation/standards/kde/style/basics/index.html )
// About this function, the style guide
// says that it should open a new window if the document is _not_
// in its initial state. This is what we do here..
if (m_part->url().isEmpty()) {
......
......@@ -324,7 +324,7 @@ void KUIViewerPart::slotStyle(int)
m_view->hide();
const QString styleName = m_style->currentText();
qCDebug(KUIVIEWERPART) << "Style selectd:" << styleName;
qCDebug(KUIVIEWERPART) << "Style selected:" << styleName;
restyleView(styleName);
m_view->show();
......
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