traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/traverso ExportWidget.cpp


From: Ben Levitt
Subject: [Traverso-commit] traverso/src/traverso ExportWidget.cpp
Date: Wed, 23 May 2007 22:16:21 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Ben Levitt <benjie>     07/05/23 22:16:21

Modified files:
        src/traverso   : ExportWidget.cpp 

Log message:
        fix population of the cdr device-list

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/ExportWidget.cpp?cvsroot=traverso&r1=1.39&r2=1.40

Patches:
Index: ExportWidget.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/traverso/ExportWidget.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- ExportWidget.cpp    23 May 2007 20:32:47 -0000      1.39
+++ ExportWidget.cpp    23 May 2007 22:16:21 -0000      1.40
@@ -645,9 +645,6 @@
        
        if (m_writingState == QUERY_DEVICE) {
                char buf[1024];
-               int previousIndex = cdDeviceComboBox->currentIndex();
-
-               cdDeviceComboBox->clear();
 
                while(m_burnprocess->readLine(buf, sizeof(buf)) != -1) {
                        QString data = QString(buf);
@@ -689,8 +686,6 @@
                cdDeviceComboBox->addItem("IOCompactDiscServices");
                cdDeviceComboBox->addItem("IOCompactDiscServices/2");
 #endif
-               // If combo box was empty, set it to saved drive.  Else, keep 
it on previously selected drive
-               if (previousIndex == -1) {
                        QString cdrdaoDrive = config().get_property("Cdrdao", 
"drive", "").toString();
                        if (cdrdaoDrive != "") {
                                int index = 
cdDeviceComboBox->findData(cdrdaoDrive);
@@ -698,9 +693,6 @@
                                        
cdDeviceComboBox->setCurrentIndex(index);
                                }
                        }
-               } else {
-                       cdDeviceComboBox->setCurrentIndex(previousIndex);
-               }
                
                update_cdburn_status(tr("Information"), NORMAL_MESSAGE);
                




reply via email to

[Prev in Thread] Current Thread [Next in Thread]