Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:epopov:branches:openSUSE:Factory
ksysguard5
2001-menubar.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2001-menubar.patch of Package ksysguard5
diff --git a/gui/ksysguard.cpp b/gui/ksysguard.cpp index 669c2bfe5ca38f3fa3a3cf1ec253d8dde696cb12..9bab616811eed81128509067e76748c202c019f6 100644 --- a/gui/ksysguard.cpp +++ b/gui/ksysguard.cpp @@ -508,6 +508,13 @@ void TopLevel::answerReceived( int id, const QList<QByteArray> &answerList ) } } +void TopLevel::applyMainWindowSettings(const KConfigGroup &config) +{ + KXmlGuiWindow::applyMainWindowSettings(config); + + mShowMenuBarAction->setChecked(menuBar()->isVisibleTo(this)); +} + void TopLevel::setSwapInfo( qlonglong used, qlonglong free, const QString & ) { QString msg; diff --git a/gui/ksysguard.h b/gui/ksysguard.h index a6f3b21f692d4ac97aeeb27763a564ab7ad68d34..67b6510d36c7ff2d72386e33146d0b47f50933c0 100644 --- a/gui/ksysguard.h +++ b/gui/ksysguard.h @@ -79,6 +79,8 @@ class TopLevel : public KXmlGuiWindow, public KSGRD::SensorClient void toggleShowMenuBar(); private: + void applyMainWindowSettings(const KConfigGroup &config) override; + void setSwapInfo( qlonglong, qlonglong, const QString& ); void changeEvent( QEvent * event ) override; void retranslateUi();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor