~ubuntu-branches/debian/sid/smplayer/sid

« back to all changes in this revision

Viewing changes to src/favoriteeditor.cpp

  • Committer: Package Import Robot
  • Author(s): Maia Kozheva
  • Date: 2012-04-14 12:01:57 UTC
  • mto: (21.1.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120414120157-wb5m0kcc8uoth8p7
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
 
50
50
        if (index.column() == COL_FILE) {
51
51
                FileChooser * fch = new FileChooser(parent);
 
52
                fch->setOptions(QFileDialog::DontUseNativeDialog | QFileDialog::DontResolveSymlinks); // Crashes if use the KDE dialog
52
53
                fch->setText( index.model()->data(index, Qt::DisplayRole).toString() );
53
54
                return fch;
54
55
        } 
174
175
                table->setItem(n, COL_FILE, file_item);
175
176
        }
176
177
 
177
 
        table->resizeColumnsToContents();
 
178
        //table->resizeColumnsToContents();
178
179
 
179
180
        //table->setCurrentCell(0, 0);
180
181
        table->setCurrentCell(table->rowCount()-1, 0);