[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdewebdev/quanta/src
From: Andras Mantia <amantia () kde ! org>
Date: 2004-03-29 10:58:09
Message-ID: 20040329105809.D6D1E99D4 () office ! kde ! org
[Download RAW message or body]
CVS commit by amantia:
Solve a FIXME: during save as the default target directory is set according to the \
selected directory in the Files/Project tree.
M +4 -8 quanta.cpp 1.463
--- kdewebdev/quanta/src/quanta.cpp #1.462:1.463
@@ -390,7 +390,6 @@ bool QuantaApp::slotFileSaveAs()
KURL saveAsUrl;
-//FIXME:
-/*
- if(ptabdock->isVisible())
+
+ if(ProjectTreeView::ref()->isVisible())
{
saveAsUrl = ProjectTreeView::ref()->currentURL();
@@ -398,5 +397,5 @@ bool QuantaApp::slotFileSaveAs()
gotPath = true;
}
- else if(ftabdock->isVisible())
+ else if(fTab->isVisible())
{
saveAsUrl = fTab->currentURL();
@@ -404,5 +403,5 @@ bool QuantaApp::slotFileSaveAs()
gotPath = true;
}
-*/
+
if (gotPath)
{
@@ -884,11 +883,8 @@ void QuantaApp::slotNewStatus()
actionCollection()->action("toolbars_save_project")->setEnabled(projectExists);
- //FIXME:
-
// try to set the icon from mimetype
QIconSet mimeIcon (KMimeType::pixmapForURL(w->url(), 0, KIcon::Small));
if (mimeIcon.isNull())
mimeIcon = QIconSet(SmallIcon("document"));
- // QString label = wTab->tabLabel(w);
QString urlStr = QExtFileInfo::shortName(w->url().path());
QuantaView *view = ViewManager::ref()->activeView();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic