[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Traverso-commit] traverso/src/core ProjectManager.cpp
From: |
Ben Levitt |
Subject: |
[Traverso-commit] traverso/src/core ProjectManager.cpp |
Date: |
Thu, 07 Jun 2007 04:38:24 +0000 |
CVSROOT: /sources/traverso
Module name: traverso
Changes by: Ben Levitt <benjie> 07/06/07 04:38:23
Modified files:
src/core : ProjectManager.cpp
Log message:
Change new project directory confirmation QMessageBox to a less
obtrusive info().information() message
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/ProjectManager.cpp?cvsroot=traverso&r1=1.33&r2=1.34
Patches:
Index: ProjectManager.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/ProjectManager.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- ProjectManager.cpp 31 May 2007 13:56:41 -0000 1.33
+++ ProjectManager.cpp 7 Jun 2007 04:38:23 -0000 1.34
@@ -260,20 +260,22 @@
tr("Choose an existing or create a new Project
Directory"),
projects_path );
if (dir.exists(newPath)) {
- QMessageBox::information( 0,
- tr("Traverso - Information"),
- tr("Using existing Project directory:
%1\n").arg(newPath),
- "OK", 0 );
+ info().information(tr("Using existing Project
directory: %1\n").arg(newPath));
+ //QMessageBox::information( 0,
+ // tr("Traverso - Information"),
+ // tr("Using existing Project directory:
%1\n").arg(newPath),
+ // "OK", 0 );
} else if (!dir.mkpath(newPath)) {
QMessageBox::warning( 0, tr("Traverso - Warning"),
tr("Unable to create Project directory!
\n") +
tr("Please check permission for this
directory: %1").arg(newPath) );
return;
} else {
- QMessageBox::information( 0,
- tr("Traverso - Information"),
- tr("Created new Project directory for
you here: %1\n").arg(newPath),
- "OK", 0 );
+ info().information(tr("Created new Project directory
for you here: %1\n").arg(newPath));
+ //QMessageBox::information( 0,
+ // tr("Traverso - Information"),
+ // tr("Created new Project directory for
you here: %1\n").arg(newPath),
+ // "OK", 0 );
}
QDir newdir(newPath);
config().set_property("Project", "directory",
newdir.canonicalPath());
- [Traverso-commit] traverso/src/core ProjectManager.cpp,
Ben Levitt <=