Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SDK
Cervisia
Commits
e7bf7e65
Commit
e7bf7e65
authored
Jan 14, 2007
by
André Wöbbeking
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--depreacted
svn path=/trunk/KDE/kdesdk/cervisia/; revision=623395
parent
5ad29fd1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
cervisiapart.cpp
cervisiapart.cpp
+3
-3
cervisiashell.cpp
cervisiashell.cpp
+3
-3
No files found.
cervisiapart.cpp
View file @
e7bf7e65
...
...
@@ -1758,7 +1758,7 @@ bool CervisiaPart::openSandbox(const QString &dirname)
// remove path from recent sandbox menu
QFileInfo
fi
(
dirname
);
recent
->
removeUrl
(
KUrl
::
fromPathOrUrl
(
fi
.
absoluteFilePath
())
);
recent
->
removeUrl
(
KUrl
(
fi
.
absoluteFilePath
())
);
return
false
;
}
...
...
@@ -1769,14 +1769,14 @@ bool CervisiaPart::openSandbox(const QString &dirname)
// get path of sandbox for recent sandbox menu
sandbox
=
cvsRepository
.
workingCopy
();
recent
->
addUrl
(
KUrl
::
fromPathOrUrl
(
sandbox
)
);
recent
->
addUrl
(
KUrl
(
sandbox
)
);
// get repository for the caption of the window
repository
=
cvsRepository
.
location
();
emit
setWindowCaption
(
sandbox
+
'('
+
repository
+
')'
);
// set m_url member for tabbed window modus of Konqueror
m_url
=
KUrl
::
fromPathOrUrl
(
sandbox
);
m_url
=
KUrl
(
sandbox
);
// *NOTICE*
// The order is important here. We have to set the m_url member before
...
...
cervisiashell.cpp
View file @
e7bf7e65
...
...
@@ -36,9 +36,9 @@
CervisiaShell
::
CervisiaShell
(
const
char
*
name
)
:
KParts
::
MainWindow
(
0L
,
name
)
,
m_part
(
0
)
:
m_part
(
0
)
{
setObjectName
(
name
);
setXMLFile
(
"cervisiashellui.rc"
);
KLibFactory
*
factory
=
KLibLoader
::
self
()
->
factory
(
"libcervisiapart"
);
...
...
@@ -142,7 +142,7 @@ void CervisiaShell::setupActions()
void
CervisiaShell
::
openURL
()
{
if
(
!
m_lastOpenDir
.
isEmpty
()
)
m_part
->
openUrl
(
KUrl
::
fromPathOrUrl
(
m_lastOpenDir
)
);
m_part
->
openUrl
(
KUrl
(
m_lastOpenDir
)
);
}
...
...
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