Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Filelight
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Utilities
Filelight
Commits
178a2388
Commit
178a2388
authored
Mar 09, 2009
by
Martin Tobias Holmedahl Sandsmark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the kpart, right name for the openUrl slot.
svn path=/trunk/playground/utils/filelight/; revision=937359
parent
7b92c15c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/app/mainWindow.cpp
src/app/mainWindow.cpp
+1
-1
src/part/part.cpp
src/part/part.cpp
+2
-2
src/part/part.h
src/part/part.h
+1
-1
No files found.
src/app/mainWindow.cpp
View file @
178a2388
...
...
@@ -229,7 +229,7 @@ inline bool MainWindow::slotScanPath(const QString &path)
bool
MainWindow
::
slotScanUrl
(
const
KUrl
&
url
)
{
const
KUrl
oldUrl
=
m_part
->
url
();
const
bool
b
=
m_part
->
openU
RL
(
url
);
const
bool
b
=
m_part
->
openU
rl
(
url
);
if
(
b
)
{
m_histories
->
push
(
oldUrl
);
...
...
src/part/part.cpp
View file @
178a2388
...
...
@@ -82,7 +82,6 @@ Part::Part(QWidget *parentWidget, QObject *parent, const QList<QVariant>&)
m_map
=
new
RadialMap
::
Widget
(
widget
());
m_layout
->
addWidget
(
m_map
);
m_map
->
hide
();
m_stateWidget
=
new
QLabel
(
i18n
(
"Busy ..."
));
//TODO: Something more fancy.
m_stateWidget
->
setAlignment
(
Qt
::
AlignCenter
);
...
...
@@ -114,6 +113,7 @@ Part::postInit()
m_summary
=
new
SummaryWidget
(
widget
());
m_summary
->
setObjectName
(
"summaryWidget"
);
connect
(
m_summary
,
SIGNAL
(
activated
(
const
KUrl
&
)),
SLOT
(
openURL
(
const
KUrl
&
)));
m_map
->
hide
();
m_summary
->
show
();
m_layout
->
addWidget
(
m_summary
);
...
...
@@ -124,7 +124,7 @@ Part::postInit()
}
bool
Part
::
openU
RL
(
const
KUrl
&
u
)
Part
::
openU
rl
(
const
KUrl
&
u
)
{
//TODO everyone hates dialogs, instead render the text in big fonts on the Map
...
...
src/part/part.h
View file @
178a2388
...
...
@@ -67,7 +67,7 @@ public:
static
KAboutData
*
createAboutData
();
public
slots
:
virtual
bool
openU
RL
(
const
KUrl
&
);
virtual
bool
openU
rl
(
const
KUrl
&
);
void
configFilelight
();
void
rescan
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment