[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-1/datakiosk/src
From:       Adam Treat <manyoso () yahoo ! com>
Date:       2005-03-31 18:20:03
Message-ID: 20050331182003.9B2D1632 () office ! kde ! org
[Download RAW message or body]

CVS commit by treat: 

* Only show the splash when the project filename is not null


  M +6 -3      datatablebox.cpp   1.9
  M +5 -0      project.cpp   1.20
  M +2 -0      project.h   1.10


--- kdeextragear-1/datakiosk/src/datatablebox.cpp  #1.8:1.9
@@ -172,4 +172,5 @@ void DataTableBox::initialize()
              splash, SLOT( message( const QString &, int, const QColor & ) ) );
 
+    if ( !fileName().isEmpty() )
     splash->show();
 
@@ -199,5 +200,7 @@ void DataTableBox::initialize()
     }
 
+    if ( !fileName().isEmpty() )
     splash->finish( this );
+
     delete splash;
 }

--- kdeextragear-1/datakiosk/src/project.cpp  #1.19:1.20
@@ -248,4 +248,9 @@ void Project::uglyInitialize()
 }
 
+QString Project::fileName() const
+{
+    return m_fileName;
+}
+
 void Project::newProject()
 {

--- kdeextragear-1/datakiosk/src/project.h  #1.9:1.10
@@ -60,4 +60,6 @@ public:
     virtual void uglyInitialize();
 
+    QString fileName() const;
+
     virtual void newProject();
     void openProject();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic