Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plasma Workspace
Manage
Activity
Members
Labels
Plan
Issues
54
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
141
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Plasma
Plasma Workspace
Commits
aaa55d9f
Commit
aaa55d9f
authored
10 years ago
by
Vishesh Handa
Browse files
Options
Downloads
Patches
Plain Diff
KRunner: Auto restart on crash
BUG: 336365
parent
9d5a7c51
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
krunner/CMakeLists.txt
+1
-0
1 addition, 0 deletions
krunner/CMakeLists.txt
krunner/view.cpp
+3
-0
3 additions, 0 deletions
krunner/view.cpp
with
5 additions
and
1 deletion
CMakeLists.txt
+
1
−
1
View file @
aaa55d9f
...
...
@@ -11,7 +11,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package
(
KF5 REQUIRED COMPONENTS
Plasma DocTools Runner JsEmbed NotifyConfig Su NewStuff Wallet KCMUtils Baloo
IdleTime ThreadWeaver Declarative PlasmaQuick WebKit TextWidgets KDELibs4Support
)
IdleTime ThreadWeaver Declarative PlasmaQuick WebKit TextWidgets KDELibs4Support
Crash
)
find_package
(
KF5 REQUIRED COMPONENTS SysGuard
)
find_package
(
KF5 REQUIRED COMPONENTS Screen
)
...
...
This diff is collapsed.
Click to expand it.
krunner/CMakeLists.txt
+
1
−
0
View file @
aaa55d9f
...
...
@@ -30,6 +30,7 @@ target_link_libraries(krunner
KF5::DBusAddons
KF5::WindowSystem
KF5::ConfigWidgets
KF5::Crash
)
install
(
TARGETS krunner
${
INSTALL_TARGETS_DEFAULT_ARGS
}
)
...
...
This diff is collapsed.
Click to expand it.
krunner/view.cpp
+
3
−
0
View file @
aaa55d9f
...
...
@@ -34,6 +34,7 @@
#include
<QAction>
#include
<KLocalizedString>
#include
<KDirWatch>
#include
<KCrash/KCrash>
#include
<kdeclarative/qmlobject.h>
...
...
@@ -52,6 +53,8 @@ View::View(QWindow *parent)
setColor
(
QColor
(
Qt
::
transparent
));
setFlags
(
Qt
::
FramelessWindowHint
);
KCrash
::
setFlags
(
KCrash
::
AutoRestart
);
m_config
=
KConfigGroup
(
KSharedConfig
::
openConfig
(
"krunnerrc"
),
"General"
);
setFreeFloating
(
m_config
.
readEntry
(
"FreeFloating"
,
false
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment