Commit 2730c436 authored by Dominik Haumann's avatar Dominik Haumann

Remove object name, since it was never set anyways

parent 970aa735
......@@ -52,11 +52,10 @@
#include "kmagselrect.h"
KmagApp::KmagApp(QWidget* , const char* name)
KmagApp::KmagApp(QWidget*)
: KXmlGuiWindow(nullptr) // Qt::WStyle_MinMax | Qt::WType_TopLevel | Qt::WDestructiveClose | Qt::WStyle_ContextHelp | Qt::WindowCloseButtonHint | Qt::WStyle_StaysOnTop
, m_defaultMouseCursorType(2)
{
setObjectName( QLatin1String( name ) );
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
config=KSharedConfig::openConfig();
......
......@@ -59,7 +59,7 @@ class KmagApp : public KXmlGuiWindow
/**
* Constructor of KmagApp, calls all init functions to create the application.
*/
explicit KmagApp(QWidget* parent=nullptr, const char* name=nullptr);
explicit KmagApp(QWidget* parent=nullptr);
/// Default destructor
~KmagApp() override;
......
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